#997EF1#997EF1

#997EF1 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.166 H 292.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#997EF1
RGBrgb(153, 126, 241)
HSLhsl(254, 80%, 72%)
HSVhsv(254, 48%, 95%)
CMYKcmyk(36.5%, 47.7%, 0%, 5.5%)
CIE-LABlab(59.93, 36.06, -54.46)
CIE-LCHlch(59.93, 65.31, 303.51°)
OKLaboklab(66.92% 0.0625 -0.1538)
OKLCHoklch(66.92% 0.166 292.1)
XYZxyz(36.4707, 28.0440, 86.6935)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EF1 #D6F17E
analogous
#7E9DF1 #997EF1 #D37EF1
triadic
#997EF1 #F1997E #7EF199
tetradic
#997EF1 #F17E9D #D6F17E #7EF1D3
square
#997EF1 #F17E9D #D6F17E #7EF1D3
split-complementary
#997EF1 #F1D37E #9DF17E
monochromatic
#4618DD #6D47EB #997EF1 #C5B5F7 #E9E3FC

Accessibility & contrast

On white

3.18
#997EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#997EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EF1
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EF1#FFFFFF#000000##000000
##997EF11.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F5
Deuteranopia (green-blind)
#578EEE
Tritanopia (blue-blind)
#8395AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997ef1;
/* rgb */ color: rgb(153, 126, 241);
/* oklch */ color: oklch(66.9% 0.166 292.1);
Tailwind
colors: {
  custom: {
    50: '#bba4f6',
    500: '#997ef1',
    950: '#000000',
  },
}
SCSS
$custom: #997ef1;
$custom-light: #bba4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#997ef1",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 254.087,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66916,
    "c": 0.16605,
    "h": 292.1
  },
  "luminance": 0.28045
}

Semantic roles & 50–950 ramp

primary
#997EF1
secondary
#EDF4D7
accent
#DD09AB
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EF1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#997EF1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva