#9970C8#9970C8

#9970C8 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.2% C 0.135 H 304.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9970C8
RGBrgb(153, 112, 200)
HSLhsl(268, 44%, 61%)
HSVhsv(268, 44%, 78%)
CMYKcmyk(23.5%, 44%, 0%, 21.6%)
CIE-LABlab(54.59, 33.72, -39.90)
CIE-LCHlch(54.59, 52.24, 310.21°)
OKLaboklab(62.22% 0.0758 -0.1114)
OKLCHoklch(62.22% 0.135 304.3)
XYZxyz(29.3542, 22.5309, 57.4348)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9970C8 #9FC870
analogous
#7073C8 #9970C8 #C570C8
triadic
#9970C8 #C89970 #70C899
tetradic
#9970C8 #C87073 #9FC870 #70C8C5
square
#9970C8 #C87073 #9FC870 #70C8C5
split-complementary
#9970C8 #C8C570 #73C870
monochromatic
#5C3589 #7A46B5 #9970C8 #B99CD9 #D8C8EA

Accessibility & contrast

On white

3.81
#9970C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9970C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9970C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9970C8#FFFFFF#000000##000000
##9970C81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#6383C6
Tritanopia (blue-blind)
#917F92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9970c8;
/* rgb */ color: rgb(153, 112, 200);
/* oklch */ color: oklch(62.2% 0.135 304.3);
Tailwind
colors: {
  custom: {
    50: '#b99ad9',
    500: '#9970c8',
    950: '#000000',
  },
}
SCSS
$custom: #9970c8;
$custom-light: #b99ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9970c8",
  "rgb": {
    "r": 153,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 267.955,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62219,
    "c": 0.13473,
    "h": 304.3
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#9970C8
secondary
#CBDAB9
accent
#B82E77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9970C8

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

Preview Lab → · Contrast checker → · Palette generator →

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