#9972EB#9972EB

#9972EB is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.5% C 0.176 H 296.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9972EB
RGBrgb(153, 114, 235)
HSLhsl(259, 75%, 68%)
HSVhsv(259, 51%, 92%)
CMYKcmyk(34.9%, 51.5%, 0%, 7.8%)
CIE-LABlab(56.88, 41.29, -55.98)
CIE-LCHlch(56.88, 69.56, 306.41°)
OKLaboklab(64.54% 0.0771 -0.1583)
OKLCHoklch(64.54% 0.176 296)
XYZxyz(34.1458, 24.8045, 81.5699)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9972EB #C4EB72
analogous
#7287EB #9972EB #D572EB
triadic
#9972EB #EB9972 #72EB99
tetradic
#9972EB #EB7287 #C4EB72 #72EBD5
square
#9972EB #EB7287 #C4EB72 #72EBD5
split-complementary
#9972EB #EBD572 #87EB72
monochromatic
#531CC6 #723CE3 #9972EB #C0A8F3 #E7DDFA

Accessibility & contrast

On white

3.52
#9972EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9972EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9972EB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9972EB#FFFFFF#000000##000000
##9972EB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#868AA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9972eb;
/* rgb */ color: rgb(153, 114, 235);
/* oklch */ color: oklch(64.5% 0.176 296.0);
Tailwind
colors: {
  custom: {
    50: '#bb9bf2',
    500: '#9972eb',
    950: '#000000',
  },
}
SCSS
$custom: #9972eb;
$custom-light: #bb9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9972eb",
  "rgb": {
    "r": 153,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 259.339,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64537,
    "c": 0.17607,
    "h": 296
  },
  "luminance": 0.24805
}

Semantic roles & 50–950 ramp

primary
#9972EB
secondary
#E3EFCA
accent
#D70E96
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9972EB

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

Preview Lab → · Contrast checker → · Palette generator →

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