#9870CE#9870CE

#9870CE is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.4% C 0.142 H 302.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9870CE
RGBrgb(152, 112, 206)
HSLhsl(266, 49%, 62%)
HSVhsv(266, 46%, 81%)
CMYKcmyk(26.2%, 45.6%, 0%, 19.2%)
CIE-LABlab(54.78, 34.88, -43.01)
CIE-LCHlch(54.78, 55.38, 309.05°)
OKLaboklab(62.44% 0.0755 -0.1204)
OKLCHoklch(62.44% 0.142 302.1)
XYZxyz(29.8812, 22.7199, 61.1917)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9870CE #A6CE70
analogous
#7077CE #9870CE #C770CE
triadic
#9870CE #CE9870 #70CE98
tetradic
#9870CE #CE7077 #A6CE70 #70CEC7
square
#9870CE #CE7077 #A6CE70 #70CEC7
split-complementary
#9870CE #CEC770 #77CE70
monochromatic
#5B3292 #7742BE #9870CE #B99EDE #DACBED

Accessibility & contrast

On white

3.79
#9870CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9870CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9870CE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9870CE#FFFFFF#000000##000000
##9870CE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#8E8095
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9870ce;
/* rgb */ color: rgb(152, 112, 206);
/* oklch */ color: oklch(62.4% 0.142 302.1);
Tailwind
colors: {
  custom: {
    50: '#b89add',
    500: '#9870ce',
    950: '#000000',
  },
}
SCSS
$custom: #9870ce;
$custom-light: #b89add;
$custom-dark: #000000;
JSON
{
  "hex": "#9870ce",
  "rgb": {
    "r": 152,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 265.532,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62441,
    "c": 0.14214,
    "h": 302.1
  },
  "luminance": 0.2272
}

Semantic roles & 50–950 ramp

primary
#9870CE
secondary
#CFDEBC
accent
#BC297E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9870CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9870CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva