#9858E4#9858E4

#9858E4 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.205 H 301.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9858E4
RGBrgb(152, 88, 228)
HSLhsl(267, 72%, 62%)
HSVhsv(267, 61%, 89%)
CMYKcmyk(33.3%, 61.4%, 0%, 10.6%)
CIE-LABlab(50.99, 53.35, -61.53)
CIE-LCHlch(50.99, 81.44, 310.93°)
OKLaboklab(60.04% 0.1072 -0.1746)
OKLCHoklch(60.04% 0.205 301.5)
XYZxyz(30.4389, 19.2562, 75.4969)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858E4 #A4E458
analogous
#585EE4 #9858E4 #DE58E4
triadic
#9858E4 #E49858 #58E498
tetradic
#9858E4 #E4585E #A4E458 #58E4DE
square
#9858E4 #E4585E #A4E458 #58E4DE
split-complementary
#9858E4 #E4DE58 #5EE458
monochromatic
#5B1BA7 #7823DB #9858E4 #B88DED #D9C1F5

Accessibility & contrast

On white

4.33
#9858E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9858E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858E4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858E4#FFFFFF#000000##000000
##9858E41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#887696
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9858e4;
/* rgb */ color: rgb(152, 88, 228);
/* oklch */ color: oklch(60.0% 0.205 301.5);
Tailwind
colors: {
  custom: {
    50: '#bb8aed',
    500: '#9858e4',
    950: '#000000',
  },
}
SCSS
$custom: #9858e4;
$custom-light: #bb8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9858e4",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 267.429,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.20485,
    "h": 301.5
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#9858E4
secondary
#CEE6B2
accent
#D4117B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9858E4

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

Preview Lab → · Contrast checker → · Palette generator →

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