#9858EE#9858EE

#9858EE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.216 H 299.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9858EE
RGBrgb(152, 88, 238)
HSLhsl(266, 82%, 64%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(36.1%, 63%, 0%, 6.7%)
CIE-LABlab(51.64, 55.80, -66.09)
CIE-LCHlch(51.64, 86.49, 310.17°)
OKLaboklab(60.73% 0.1065 -0.188)
OKLCHoklch(60.73% 0.216 299.5)
XYZxyz(31.8674, 19.8276, 83.0205)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858EE #AEEE58
analogous
#5863EE #9858EE #E358EE
triadic
#9858EE #EE9858 #58EE98
tetradic
#9858EE #EE5863 #AEEE58 #58EEE3
square
#9858EE #EE5863 #AEEE58 #58EEE3
split-complementary
#9858EE #EEE358 #63EE58
monochromatic
#5A13B9 #7620E8 #9858EE #BA90F4 #DDC7F9

Accessibility & contrast

On white

4.23
#9858EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9858EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858EE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858EE#FFFFFF#000000##000000
##9858EE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0E7AEB
Tritanopia (blue-blind)
#85799B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9858ee;
/* rgb */ color: rgb(152, 88, 238);
/* oklch */ color: oklch(60.7% 0.216 299.5);
Tailwind
colors: {
  custom: {
    50: '#bc8af4',
    500: '#9858ee',
    950: '#000000',
  },
}
SCSS
$custom: #9858ee;
$custom-light: #bc8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9858ee",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 265.6,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.21607,
    "h": 299.5
  },
  "luminance": 0.19828
}

Semantic roles & 50–950 ramp

primary
#9858EE
secondary
#D5EBB7
accent
#DE0882
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9858EE

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

Preview Lab → · Contrast checker → · Palette generator →

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