#9972EF#9972EF

#9972EF is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.181 H 295.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9972EF
RGBrgb(153, 114, 239)
HSLhsl(259, 80%, 69%)
HSVhsv(259, 52%, 94%)
CMYKcmyk(36%, 52.3%, 0%, 6.3%)
CIE-LABlab(57.11, 42.32, -57.84)
CIE-LCHlch(57.11, 71.67, 306.19°)
OKLaboklab(64.78% 0.0773 -0.1638)
OKLCHoklch(64.78% 0.181 295.3)
XYZxyz(34.7302, 25.0383, 84.6477)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9972EF #C8EF72
analogous
#728AEF #9972EF #D872EF
triadic
#9972EF #EF9972 #72EF99
tetradic
#9972EF #EF728A #C8EF72 #72EFD8
square
#9972EF #EF728A #C8EF72 #72EFD8
split-complementary
#9972EF #EFD872 #8AEF72
monochromatic
#5118CF #713BE9 #9972EF #C1A9F5 #E9E0FB

Accessibility & contrast

On white

3.50
#9972EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9972EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9972EF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9972EF#FFFFFF#000000##000000
##9972EF1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#858BA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9972ef;
/* rgb */ color: rgb(153, 114, 239);
/* oklch */ color: oklch(64.8% 0.181 295.3);
Tailwind
colors: {
  custom: {
    50: '#bb9bf5',
    500: '#9972ef',
    950: '#000000',
  },
}
SCSS
$custom: #9972ef;
$custom-light: #bb9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9972ef",
  "rgb": {
    "r": 153,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 258.72,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6478,
    "c": 0.1811,
    "h": 295.3
  },
  "luminance": 0.25039
}

Semantic roles & 50–950 ramp

primary
#9972EF
secondary
#E5F1CC
accent
#DC0A9A
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9972EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9972EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva