#9859F2#9859F2

#9859F2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.219 H 298.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9859F2
RGBrgb(152, 89, 242)
HSLhsl(265, 85%, 65%)
HSVhsv(265, 63%, 95%)
CMYKcmyk(37.2%, 63.2%, 0%, 5.1%)
CIE-LABlab(52.10, 56.28, -67.59)
CIE-LCHlch(52.10, 87.95, 309.78°)
OKLaboklab(61.14% 0.1051 -0.1924)
OKLCHoklch(61.14% 0.219 298.6)
XYZxyz(32.5443, 20.2306, 86.1775)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9859F2 #B3F259
analogous
#5966F2 #9859F2 #E559F2
triadic
#9859F2 #F29859 #59F298
tetradic
#9859F2 #F25966 #B3F259 #59F2E5
square
#9859F2 #F25966 #B3F259 #59F2E5
split-complementary
#9859F2 #F2E559 #66F259
monochromatic
#590FC1 #7520EE #9859F2 #BB92F6 #DECBFB

Accessibility & contrast

On white

4.16
#9859F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9859F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9859F2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9859F2#FFFFFF#000000##000000
##9859F21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#837B9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9859f2;
/* rgb */ color: rgb(152, 89, 242);
/* oklch */ color: oklch(61.1% 0.219 298.6);
Tailwind
colors: {
  custom: {
    50: '#bc8bf7',
    500: '#9859f2',
    950: '#000000',
  },
}
SCSS
$custom: #9859f2;
$custom-light: #bc8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9859f2",
  "rgb": {
    "r": 152,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 264.706,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.21924,
    "h": 298.6
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#9859F2
secondary
#D8EDB9
accent
#E20486
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9859F2

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

Preview Lab → · Contrast checker → · Palette generator →

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