#997DFE#997DFE

#997DFE is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.5% C 0.184 H 290.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#997DFE
RGBrgb(153, 125, 254)
HSLhsl(253, 98%, 74%)
HSVhsv(253, 51%, 100%)
CMYKcmyk(39.8%, 50.8%, 0%, 0.4%)
CIE-LABlab(60.42, 40.08, -60.84)
CIE-LCHlch(60.42, 72.86, 303.38°)
OKLaboklab(67.52% 0.0649 -0.1725)
OKLCHoklch(67.52% 0.184 290.6)
XYZxyz(38.3550, 28.5942, 97.2451)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DFE #E2FE7D
analogous
#7DA2FE #997DFE #D97DFE
triadic
#997DFE #FE997D #7DFE99
tetradic
#997DFE #FE7DA2 #E2FE7D #7DFED9
square
#997DFE #FE7DA2 #E2FE7D #7DFED9
split-complementary
#997DFE #FED97D #A2FE7D
monochromatic
#3A04FD #6940FE #997DFE #C9BAFE #E7E1FF

Accessibility & contrast

On white

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

On black

6.72
#997DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DFE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DFE#FFFFFF#000000##000000
##997DFE1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#7E98B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997dfe;
/* rgb */ color: rgb(153, 125, 254);
/* oklch */ color: oklch(67.5% 0.184 290.6);
Tailwind
colors: {
  custom: {
    50: '#bca3ff',
    500: '#997dfe',
    950: '#000000',
  },
}
SCSS
$custom: #997dfe;
$custom-light: #bca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997dfe",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 253.023,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67518,
    "c": 0.18433,
    "h": 290.6
  },
  "luminance": 0.28595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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