#997DFA#997DFA

#997DFA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.179 H 291.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#997DFA
RGBrgb(153, 125, 250)
HSLhsl(253, 93%, 74%)
HSVhsv(253, 50%, 98%)
CMYKcmyk(38.8%, 50%, 0%, 2%)
CIE-LABlab(60.20, 39.01, -59.00)
CIE-LCHlch(60.20, 70.73, 303.47°)
OKLaboklab(67.28% 0.0646 -0.1672)
OKLCHoklch(67.28% 0.179 291.1)
XYZxyz(37.7211, 28.3406, 93.9068)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DFA #DEFA7D
analogous
#7D9FFA #997DFA #D77DFA
triadic
#997DFA #FA997D #7DFA99
tetradic
#997DFA #FA7D9F #DEFA7D #7DFAD7
square
#997DFA #FA7D9F #DEFA7D #7DFAD7
split-complementary
#997DFA #FAD77D #9FFA7D
monochromatic
#3E09F3 #6B42F8 #997DFA #C7B8FC #E8E2FE

Accessibility & contrast

On white

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

On black

6.67
#997DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DFA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DFA#FFFFFF#000000##000000
##997DFA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#4E8EF7
Tritanopia (blue-blind)
#7F96B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997dfa;
/* rgb */ color: rgb(153, 125, 250);
/* oklch */ color: oklch(67.3% 0.179 291.1);
Tailwind
colors: {
  custom: {
    50: '#bba3fc',
    500: '#997dfa',
    950: '#000000',
  },
}
SCSS
$custom: #997dfa;
$custom-light: #bba3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#997dfa",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 253.44,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67276,
    "c": 0.17919,
    "h": 291.1
  },
  "luminance": 0.28342
}

Semantic roles & 50–950 ramp

primary
#997DFA
secondary
#EFF6D5
accent
#E600B2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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