#997DFC#997DFC

#997DFC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.4% C 0.182 H 290.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#997DFC
RGBrgb(153, 125, 252)
HSLhsl(253, 95%, 74%)
HSVhsv(253, 50%, 99%)
CMYKcmyk(39.3%, 50.4%, 0%, 1.2%)
CIE-LABlab(60.31, 39.55, -59.92)
CIE-LCHlch(60.31, 71.80, 303.42°)
OKLaboklab(67.4% 0.0647 -0.1699)
OKLCHoklch(67.4% 0.182 290.9)
XYZxyz(38.0364, 28.4667, 95.5672)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DFC #E0FC7D
analogous
#7DA1FC #997DFC #D87DFC
triadic
#997DFC #FC997D #7DFC99
tetradic
#997DFC #FC7DA1 #E0FC7D #7DFCD8
square
#997DFC #FC7DA1 #E0FC7D #7DFCD8
split-complementary
#997DFC #FCD87D #A1FC7D
monochromatic
#3B06F9 #6A41FB #997DFC #C8B9FD #E8E1FE

Accessibility & contrast

On white

3.14
#997DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#997DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DFC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DFC#FFFFFF#000000##000000
##997DFC1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#4C8FF9
Tritanopia (blue-blind)
#7E97B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997dfc;
/* rgb */ color: rgb(153, 125, 252);
/* oklch */ color: oklch(67.4% 0.182 290.9);
Tailwind
colors: {
  custom: {
    50: '#bca3fe',
    500: '#997dfc',
    950: '#000000',
  },
}
SCSS
$custom: #997dfc;
$custom-light: #bca3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#997dfc",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 253.228,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67397,
    "c": 0.18177,
    "h": 290.9
  },
  "luminance": 0.28468
}

Semantic roles & 50–950 ramp

primary
#997DFC
secondary
#EFF7D4
accent
#E600B3
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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