#9971EF#9971EF

#9971EF is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.183 H 295.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9971EF
RGBrgb(153, 113, 239)
HSLhsl(259, 80%, 69%)
HSVhsv(259, 53%, 94%)
CMYKcmyk(36%, 52.7%, 0%, 6.3%)
CIE-LABlab(56.89, 42.88, -58.19)
CIE-LCHlch(56.89, 72.28, 306.38°)
OKLaboklab(64.62% 0.0785 -0.1648)
OKLCHoklch(64.62% 0.183 295.5)
XYZxyz(34.6180, 24.8139, 84.6103)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9971EF #C7EF71
analogous
#7188EF #9971EF #D871EF
triadic
#9971EF #EF9971 #71EF99
tetradic
#9971EF #EF7188 #C7EF71 #71EFD8
square
#9971EF #EF7188 #C7EF71 #71EFD8
split-complementary
#9971EF #EFD871 #88EF71
monochromatic
#5117CE #713AE9 #9971EF #C1A8F5 #E8DFFB

Accessibility & contrast

On white

3.52
#9971EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9971EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9971EF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9971EF#FFFFFF#000000##000000
##9971EF1.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)
#3C89F3
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#858AA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9971ef;
/* rgb */ color: rgb(153, 113, 239);
/* oklch */ color: oklch(64.6% 0.183 295.5);
Tailwind
colors: {
  custom: {
    50: '#bb9bf5',
    500: '#9971ef',
    950: '#000000',
  },
}
SCSS
$custom: #9971ef;
$custom-light: #bb9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9971ef",
  "rgb": {
    "r": 153,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 259.048,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64617,
    "c": 0.18256,
    "h": 295.5
  },
  "luminance": 0.24815
}

Semantic roles & 50–950 ramp

primary
#9971EF
secondary
#E5F0CB
accent
#DC0999
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9971EF

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

Preview Lab → · Contrast checker → · Palette generator →

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