#997FEE

A color in the Violet family

#997fee is a color in the Violet family: RGB(153, 127, 238), HSL(254°, 77%, 72%), CMYK(36%, 47%, 0%, 7%). Closest named color: mediumpurple. Contrast is 3.17:1 on white and 6.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#997fee
RGBrgb(153 127 238)
RGB (legacy)rgb(153, 127, 238)
RGB %rgb(60% 50% 93%)
HSLhsl(254 77% 72%)
HSV / HSBhsv(254, 47%, 93%)
HWBhwb(254 50% 7%)
CMYKcmyk(36%, 47%, 0%, 7%)
CIELAB (D50)lab(59.42 29.17 -53.3)
LCHlch(59.42 60.76 298.69)
OKLaboklab(0.6692 0.0609 -0.1486)
OKLCHoklch(0.6692 0.1606 292.28)
Decimal10059758

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 4.4
Closest web-safe color#9966ff
Hue254°
Saturation (HSL / HSV)77% / 47%
Lightness (HSL)72%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)58% / 55%
Relative luminance (WCAG)0.2812
Red / Green / Blue153 / 127 / 238

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.17:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.62:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 58.7 / -43.1 · As background with white / black text: Lc -64.1 / 45.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #997fee;
  --color-brand-oklch: oklch(66.92% 0.1606 292.28);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(153 127 238 / 50%); }
/* Tailwind CSS */
<div class="bg-[#997fee] text-[#997fee] border-[#997fee]">