#9970EF#9970EF

#9970EF is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.5% C 0.184 H 295.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9970EF
RGBrgb(153, 112, 239)
HSLhsl(259, 80%, 69%)
HSVhsv(259, 53%, 94%)
CMYKcmyk(36%, 53.1%, 0%, 6.3%)
CIE-LABlab(56.68, 43.43, -58.54)
CIE-LCHlch(56.68, 72.90, 306.57°)
OKLaboklab(64.46% 0.0798 -0.1658)
OKLCHoklch(64.46% 0.184 295.7)
XYZxyz(34.5070, 24.5920, 84.5733)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9970EF #C6EF70
analogous
#7087EF #9970EF #D970EF
triadic
#9970EF #EF9970 #70EF99
tetradic
#9970EF #EF7087 #C6EF70 #70EFD9
square
#9970EF #EF7087 #C6EF70 #70EFD9
split-complementary
#9970EF #EFD970 #87EF70
monochromatic
#5217CE #7239E9 #9970EF #C0A7F5 #E8DEFB

Accessibility & contrast

On white

3.55
#9970EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9970EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9970EF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9970EF#FFFFFF#000000##000000
##9970EF1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#858AA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9970ef;
/* rgb */ color: rgb(153, 112, 239);
/* oklch */ color: oklch(64.5% 0.184 295.7);
Tailwind
colors: {
  custom: {
    50: '#bb9af5',
    500: '#9970ef',
    950: '#000000',
  },
}
SCSS
$custom: #9970ef;
$custom-light: #bb9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9970ef",
  "rgb": {
    "r": 153,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 259.37,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64456,
    "c": 0.18401,
    "h": 295.7
  },
  "luminance": 0.24593
}

Semantic roles & 50–950 ramp

primary
#9970EF
secondary
#E4F0CB
accent
#DC0998
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9970EF

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

Preview Lab → · Contrast checker → · Palette generator →

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