#997DFB#997DFB

#997DFB is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.3% C 0.180 H 291.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#997DFB
RGBrgb(153, 125, 251)
HSLhsl(253, 94%, 74%)
HSVhsv(253, 50%, 98%)
CMYKcmyk(39%, 50.2%, 0%, 1.6%)
CIE-LABlab(60.25, 39.28, -59.46)
CIE-LCHlch(60.25, 71.27, 303.45°)
OKLaboklab(67.34% 0.0646 -0.1685)
OKLCHoklch(67.34% 0.18 291)
XYZxyz(37.8783, 28.4035, 94.7348)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DFB #DFFB7D
analogous
#7DA0FB #997DFB #D87DFB
triadic
#997DFB #FB997D #7DFB99
tetradic
#997DFB #FB7DA0 #DFFB7D #7DFBD8
square
#997DFB #FB7DA0 #DFFB7D #7DFBD8
split-complementary
#997DFB #FBD87D #A0FB7D
monochromatic
#3D08F6 #6A42F9 #997DFB #C8B8FD #E8E1FE

Accessibility & contrast

On white

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

On black

6.68
#997DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DFB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DFB#FFFFFF#000000##000000
##997DFB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#4D8FF8
Tritanopia (blue-blind)
#7F97B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997dfb;
/* rgb */ color: rgb(153, 125, 251);
/* oklch */ color: oklch(67.3% 0.180 291.0);
Tailwind
colors: {
  custom: {
    50: '#bca3fd',
    500: '#997dfb',
    950: '#000000',
  },
}
SCSS
$custom: #997dfb;
$custom-light: #bca3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#997dfb",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 253.333,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67336,
    "c": 0.18048,
    "h": 291
  },
  "luminance": 0.28405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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