#997FF1#997FF1

#997FF1 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.1% C 0.165 H 291.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#997FF1
RGBrgb(153, 127, 241)
HSLhsl(254, 80%, 72%)
HSVhsv(254, 47%, 95%)
CMYKcmyk(36.5%, 47.3%, 0%, 5.5%)
CIE-LABlab(60.16, 35.48, -54.09)
CIE-LCHlch(60.16, 64.69, 303.27°)
OKLaboklab(67.09% 0.0613 -0.1528)
OKLCHoklch(67.09% 0.165 291.8)
XYZxyz(36.5992, 28.3010, 86.7364)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FF1 #D7F17F
analogous
#7F9EF1 #997FF1 #D27FF1
triadic
#997FF1 #F1997F #7FF199
tetradic
#997FF1 #F17F9E #D7F17F #7FF1D2
square
#997FF1 #F17F9E #D7F17F #7FF1D2
split-complementary
#997FF1 #F1D27F #9EF17F
monochromatic
#4518DD #6D48EB #997FF1 #C5B6F7 #E9E3FC

Accessibility & contrast

On white

3.15
#997FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#997FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FF1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FF1#FFFFFF#000000##000000
##997FF11.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F5
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#8395AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ff1;
/* rgb */ color: rgb(153, 127, 241);
/* oklch */ color: oklch(67.1% 0.165 291.8);
Tailwind
colors: {
  custom: {
    50: '#bba4f6',
    500: '#997ff1',
    950: '#000000',
  },
}
SCSS
$custom: #997ff1;
$custom-light: #bba4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#997ff1",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 253.684,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6709,
    "c": 0.16458,
    "h": 291.8
  },
  "luminance": 0.28302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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