#9859EB#9859EB

#9859EB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.211 H 300.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9859EB
RGBrgb(152, 89, 235)
HSLhsl(266, 78%, 64%)
HSVhsv(266, 62%, 92%)
CMYKcmyk(35.3%, 62.1%, 0%, 7.8%)
CIE-LABlab(51.63, 54.55, -64.42)
CIE-LCHlch(51.63, 84.42, 310.25°)
OKLaboklab(60.66% 0.1056 -0.1831)
OKLCHoklch(60.66% 0.211 300)
XYZxyz(31.5130, 19.8181, 80.7462)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9859EB #ACEB59
analogous
#5963EB #9859EB #E159EB
triadic
#9859EB #EB9859 #59EB98
tetradic
#9859EB #EB5963 #ACEB59 #59EBE1
square
#9859EB #EB5963 #ACEB59 #59EBE1
split-complementary
#9859EB #EBE159 #63EB59
monochromatic
#5A16B4 #7622E4 #9859EB #BA90F2 #DCC6F8

Accessibility & contrast

On white

4.23
#9859EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9859EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9859EB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9859EB#FFFFFF#000000##000000
##9859EB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#1C7AE8
Tritanopia (blue-blind)
#86799A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9859eb;
/* rgb */ color: rgb(152, 89, 235);
/* oklch */ color: oklch(60.7% 0.211 300.0);
Tailwind
colors: {
  custom: {
    50: '#bb8bf2',
    500: '#9859eb',
    950: '#000000',
  },
}
SCSS
$custom: #9859eb;
$custom-light: #bb8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9859eb",
  "rgb": {
    "r": 152,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 265.89,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.21138,
    "h": 300
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#9859EB
secondary
#D3EAB6
accent
#DB0B81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9859EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9859EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva