#9870FF#9870FF

#9870FF is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.4% C 0.204 H 292.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9870FF
RGBrgb(152, 112, 255)
HSLhsl(257, 100%, 72%)
HSVhsv(257, 56%, 100%)
CMYKcmyk(40.4%, 56.1%, 0%, 0%)
CIE-LABlab(57.54, 47.39, -66.02)
CIE-LCHlch(57.54, 81.27, 305.67°)
OKLaboklab(65.38% 0.0789 -0.1878)
OKLCHoklch(65.38% 0.204 292.8)
XYZxyz(36.7882, 25.4828, 97.5687)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9870FF #D7FF70
analogous
#7090FF #9870FF #DF70FF
triadic
#9870FF #FF9870 #70FF98
tetradic
#9870FF #FF7090 #D7FF70 #70FFDF
square
#9870FF #FF7090 #D7FF70 #70FFDF
split-complementary
#9870FF #FFDF70 #90FF70
monochromatic
#4400F5 #6C33FF #9870FF #C4ADFF #E9E0FF

Accessibility & contrast

On white

3.44
#9870FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9870FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9870FF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9870FF#FFFFFF#000000##000000
##9870FF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8CFF
Deuteranopia (green-blind)
#2E88FC
Tritanopia (blue-blind)
#7C8FAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9870ff;
/* rgb */ color: rgb(152, 112, 255);
/* oklch */ color: oklch(65.4% 0.204 292.8);
Tailwind
colors: {
  custom: {
    50: '#bc9aff',
    500: '#9870ff',
    950: '#000000',
  },
}
SCSS
$custom: #9870ff;
$custom-light: #bc9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#9870ff",
  "rgb": {
    "r": 152,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 256.783,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65382,
    "c": 0.2037,
    "h": 292.8
  },
  "luminance": 0.25484
}

Semantic roles & 50–950 ramp

primary
#9870FF
secondary
#EDF7D3
accent
#E600A5
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9870FF

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

Preview Lab → · Contrast checker → · Palette generator →

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