#9970CF#9970CF

#9970CF is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.6% C 0.144 H 302.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9970CF
RGBrgb(153, 112, 207)
HSLhsl(266, 50%, 63%)
HSVhsv(266, 46%, 81%)
CMYKcmyk(26.1%, 45.9%, 0%, 18.8%)
CIE-LABlab(54.93, 35.41, -43.33)
CIE-LCHlch(54.93, 55.96, 309.25°)
OKLaboklab(62.59% 0.0769 -0.1213)
OKLCHoklch(62.59% 0.144 302.4)
XYZxyz(30.1910, 22.8656, 61.8423)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9970CF #A6CF70
analogous
#7076CF #9970CF #C970CF
triadic
#9970CF #CF9970 #70CF99
tetradic
#9970CF #CF7076 #A6CF70 #70CFC9
square
#9970CF #CF7076 #A6CF70 #70CFC9
split-complementary
#9970CF #CFC970 #76CF70
monochromatic
#5C3193 #7842C0 #9970CF #BA9EDE #DACCEE

Accessibility & contrast

On white

3.77
#9970CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9970CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9970CF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9970CF#FFFFFF#000000##000000
##9970CF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D2
Deuteranopia (green-blind)
#5F83CD
Tritanopia (blue-blind)
#8F8196
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9970cf;
/* rgb */ color: rgb(153, 112, 207);
/* oklch */ color: oklch(62.6% 0.144 302.4);
Tailwind
colors: {
  custom: {
    50: '#b99ade',
    500: '#9970cf',
    950: '#000000',
  },
}
SCSS
$custom: #9970cf;
$custom-light: #b99ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9970cf",
  "rgb": {
    "r": 153,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 265.895,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.14365,
    "h": 302.4
  },
  "luminance": 0.22866
}

Semantic roles & 50–950 ramp

primary
#9970CF
secondary
#D0DFBC
accent
#BD287D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9970CF

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

Preview Lab → · Contrast checker → · Palette generator →

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