#9858EF#9858EF

#9858EF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.217 H 299.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9858EF
RGBrgb(152, 88, 239)
HSLhsl(265, 83%, 64%)
HSVhsv(265, 63%, 94%)
CMYKcmyk(36.4%, 63.2%, 0%, 6.3%)
CIE-LABlab(51.71, 56.04, -66.54)
CIE-LCHlch(51.71, 87.00, 310.10°)
OKLaboklab(60.8% 0.1064 -0.1893)
OKLCHoklch(60.8% 0.217 299.3)
XYZxyz(32.0147, 19.8865, 83.7964)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858EF #AFEF58
analogous
#5864EF #9858EF #E358EF
triadic
#9858EF #EF9858 #58EF98
tetradic
#9858EF #EF5864 #AFEF58 #58EFE3
square
#9858EF #EF5864 #AFEF58 #58EFE3
split-complementary
#9858EF #EFE358 #64EF58
monochromatic
#5912BB #7620EA #9858EF #BA90F4 #DDC8FA

Accessibility & contrast

On white

4.22
#9858EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9858EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858EF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858EF#FFFFFF#000000##000000
##9858EF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#087AEC
Tritanopia (blue-blind)
#847A9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9858ef;
/* rgb */ color: rgb(152, 88, 239);
/* oklch */ color: oklch(60.8% 0.217 299.3);
Tailwind
colors: {
  custom: {
    50: '#bc8af5',
    500: '#9858ef',
    950: '#000000',
  },
}
SCSS
$custom: #9858ef;
$custom-light: #bc8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9858ef",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 265.43,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.21719,
    "h": 299.3
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#9858EF
secondary
#D5ECB7
accent
#DF0783
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9858EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9858EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva