#997FF5#997FF5

#997FF5 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.170 H 291.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#997FF5
RGBrgb(153, 127, 245)
HSLhsl(253, 86%, 73%)
HSVhsv(253, 48%, 96%)
CMYKcmyk(37.6%, 48.2%, 0%, 3.9%)
CIE-LABlab(60.38, 36.54, -55.96)
CIE-LCHlch(60.38, 66.83, 303.15°)
OKLaboklab(67.32% 0.0617 -0.1582)
OKLCHoklch(67.32% 0.17 291.3)
XYZxyz(37.2033, 28.5426, 89.9176)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FF5 #DBF57F
analogous
#7FA0F5 #997FF5 #D47FF5
triadic
#997FF5 #F5997F #7FF599
tetradic
#997FF5 #F57FA0 #DBF57F #7FF5D4
square
#997FF5 #F57FA0 #DBF57F #7FF5D4
split-complementary
#997FF5 #F5D47F #A0F57F
monochromatic
#4112E8 #6C46F1 #997FF5 #C6B8F9 #E8E3FD

Accessibility & contrast

On white

3.13
#997FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#997FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FF5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FF5#FFFFFF#000000##000000
##997FF51.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#8197AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997ff5;
/* rgb */ color: rgb(153, 127, 245);
/* oklch */ color: oklch(67.3% 0.170 291.3);
Tailwind
colors: {
  custom: {
    50: '#bba4f9',
    500: '#997ff5',
    950: '#000000',
  },
}
SCSS
$custom: #997ff5;
$custom-light: #bba4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#997ff5",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 253.22,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.16981,
    "h": 291.3
  },
  "luminance": 0.28544
}

Semantic roles & 50–950 ramp

primary
#997FF5
secondary
#EEF5D6
accent
#E203B1
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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