#9979EA#9979EA

#9979EA is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.7% C 0.164 H 294.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9979EA
RGBrgb(153, 121, 234)
HSLhsl(257, 73%, 70%)
HSVhsv(257, 48%, 92%)
CMYKcmyk(34.6%, 48.3%, 0%, 8.2%)
CIE-LABlab(58.40, 37.07, -53.00)
CIE-LCHlch(58.40, 64.68, 304.97°)
OKLaboklab(65.65% 0.0681 -0.1496)
OKLCHoklch(65.65% 0.164 294.5)
XYZxyz(34.8217, 26.3869, 81.0845)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9979EA #CAEA79
analogous
#7992EA #9979EA #D179EA
triadic
#9979EA #EA9979 #79EA99
tetradic
#9979EA #EA7992 #CAEA79 #79EAD1
square
#9979EA #EA7992 #CAEA79 #79EAD1
split-complementary
#9979EA #EAD179 #92EA79
monochromatic
#5020C9 #7144E2 #9979EA #C1AEF2 #EAE3FB

Accessibility & contrast

On white

3.35
#9979EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9979EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9979EA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9979EA#FFFFFF#000000##000000
##9979EA1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEE
Deuteranopia (green-blind)
#568BE7
Tritanopia (blue-blind)
#868FA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9979ea;
/* rgb */ color: rgb(153, 121, 234);
/* oklch */ color: oklch(65.7% 0.164 294.5);
Tailwind
colors: {
  custom: {
    50: '#baa0f1',
    500: '#9979ea',
    950: '#000000',
  },
}
SCSS
$custom: #9979ea;
$custom-light: #baa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9979ea",
  "rgb": {
    "r": 153,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 256.991,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65651,
    "c": 0.16437,
    "h": 294.5
  },
  "luminance": 0.26388
}

Semantic roles & 50–950 ramp

primary
#9979EA
secondary
#E6F0CF
accent
#D5119D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9979EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9979EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva