#9858ED#9858ED

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

Color values

HEX#9858ED
RGBrgb(152, 88, 237)
HSLhsl(266, 81%, 64%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(35.9%, 62.9%, 0%, 7.1%)
CIE-LABlab(51.58, 55.55, -65.64)
CIE-LCHlch(51.58, 85.99, 310.24°)
OKLaboklab(60.66% 0.1066 -0.1867)
OKLCHoklch(60.66% 0.215 299.7)
XYZxyz(31.7209, 19.7690, 82.2489)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858ED #ADED58
analogous
#5862ED #9858ED #E358ED
triadic
#9858ED #ED9858 #58ED98
tetradic
#9858ED #ED5862 #ADED58 #58EDE3
square
#9858ED #ED5862 #ADED58 #58EDE3
split-complementary
#9858ED #EDE358 #62ED58
monochromatic
#5A14B7 #7621E7 #9858ED #BA8FF3 #DCC6F9

Accessibility & contrast

On white

4.24
#9858ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9858ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858ED
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858ED#FFFFFF#000000##000000
##9858ED1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#127AEA
Tritanopia (blue-blind)
#85799B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9858ed;
/* rgb */ color: rgb(152, 88, 237);
/* oklch */ color: oklch(60.7% 0.215 299.7);
Tailwind
colors: {
  custom: {
    50: '#bc8af4',
    500: '#9858ed',
    950: '#000000',
  },
}
SCSS
$custom: #9858ed;
$custom-light: #bc8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9858ed",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 265.772,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.21495,
    "h": 299.7
  },
  "luminance": 0.19769
}

Semantic roles & 50–950 ramp

primary
#9858ED
secondary
#D4EBB6
accent
#DD0982
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9858ED

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

Preview Lab → · Contrast checker → · Palette generator →

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