#9E70C8#9E70C8

#9E70C8 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.7% C 0.136 H 307.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9E70C8
RGBrgb(158, 112, 200)
HSLhsl(271, 44%, 61%)
HSVhsv(271, 44%, 78%)
CMYKcmyk(21%, 44%, 0%, 21.6%)
CIE-LABlab(55.10, 35.16, -39.05)
CIE-LCHlch(55.10, 52.55, 312.00°)
OKLaboklab(62.72% 0.082 -0.1088)
OKLCHoklch(62.72% 0.136 307)
XYZxyz(30.3180, 23.0278, 57.4800)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E70C8 #9AC870
analogous
#7270C8 #9E70C8 #C870C6
triadic
#9E70C8 #C89E70 #70C89E
tetradic
#9E70C8 #C87270 #9AC870 #70C6C8
square
#9E70C8 #C87270 #9AC870 #70C6C8
split-complementary
#9E70C8 #C6C870 #70C872
monochromatic
#613589 #8046B5 #9E70C8 #BC9CD9 #DAC8EA

Accessibility & contrast

On white

3.75
#9E70C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9E70C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E70C8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E70C8#FFFFFF#000000##000000
##9E70C81.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CB
Deuteranopia (green-blind)
#6684C6
Tritanopia (blue-blind)
#987E92
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9e70c8;
/* rgb */ color: rgb(158, 112, 200);
/* oklch */ color: oklch(62.7% 0.136 307.0);
Tailwind
colors: {
  custom: {
    50: '#bc9ad9',
    500: '#9e70c8',
    950: '#000000',
  },
}
SCSS
$custom: #9e70c8;
$custom-light: #bc9ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e70c8",
  "rgb": {
    "r": 158,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 271.364,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62725,
    "c": 0.1362,
    "h": 307
  },
  "luminance": 0.23028
}

Semantic roles & 50–950 ramp

primary
#9E70C8
secondary
#C9DAB9
accent
#B82E70
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9E70C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9E70C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva