#9858E9#9858E9

#9858E9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.210 H 300.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9858E9
RGBrgb(152, 88, 233)
HSLhsl(266, 77%, 63%)
HSVhsv(266, 62%, 91%)
CMYKcmyk(34.8%, 62.2%, 0%, 8.6%)
CIE-LABlab(51.31, 54.57, -63.82)
CIE-LCHlch(51.31, 83.97, 310.53°)
OKLaboklab(60.38% 0.1069 -0.1813)
OKLCHoklch(60.38% 0.21 300.5)
XYZxyz(31.1430, 19.5378, 79.2054)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858E9 #A9E958
analogous
#5860E9 #9858E9 #E158E9
triadic
#9858E9 #E99858 #58E998
tetradic
#9858E9 #E95860 #A9E958 #58E9E1
square
#9858E9 #E95860 #A9E958 #58E9E1
split-complementary
#9858E9 #E9E158 #60E958
monochromatic
#5A17AF #7722E2 #9858E9 #B98EF0 #DBC4F7

Accessibility & contrast

On white

4.28
#9858E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9858E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858E9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858E9#FFFFFF#000000##000000
##9858E91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#1F79E6
Tritanopia (blue-blind)
#877899
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9858e9;
/* rgb */ color: rgb(152, 88, 233);
/* oklch */ color: oklch(60.4% 0.210 300.5);
Tailwind
colors: {
  custom: {
    50: '#bb8af1',
    500: '#9858e9',
    950: '#000000',
  },
}
SCSS
$custom: #9858e9;
$custom-light: #bb8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9858e9",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 266.483,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.21047,
    "h": 300.5
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#9858E9
secondary
#D1E8B4
accent
#D90D7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9858E9

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

Preview Lab → · Contrast checker → · Palette generator →

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