#9858E0#9858E0

#9858E0 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.200 H 302.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9858E0
RGBrgb(152, 88, 224)
HSLhsl(268, 69%, 61%)
HSVhsv(268, 61%, 88%)
CMYKcmyk(32.1%, 60.7%, 0%, 12.2%)
CIE-LABlab(50.73, 52.39, -59.68)
CIE-LCHlch(50.73, 79.41, 311.28°)
OKLaboklab(59.78% 0.1073 -0.1692)
OKLCHoklch(59.78% 0.2 302.4)
XYZxyz(29.8900, 19.0366, 72.6063)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858E0 #A0E058
analogous
#585CE0 #9858E0 #DC58E0
triadic
#9858E0 #E09858 #58E098
tetradic
#9858E0 #E0585C #A0E058 #58E0DC
square
#9858E0 #E0585C #A0E058 #58E0DC
split-complementary
#9858E0 #E0DC58 #5CE058
monochromatic
#5B1EA0 #7827D4 #9858E0 #B88CEA #D8BFF3

Accessibility & contrast

On white

4.37
#9858E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9858E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858E0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858E0#FFFFFF#000000##000000
##9858E01.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E4
Deuteranopia (green-blind)
#3078DD
Tritanopia (blue-blind)
#8A7494
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9858e0;
/* rgb */ color: rgb(152, 88, 224);
/* oklch */ color: oklch(59.8% 0.200 302.4);
Tailwind
colors: {
  custom: {
    50: '#bb8aea',
    500: '#9858e0',
    950: '#000000',
  },
}
SCSS
$custom: #9858e0;
$custom-light: #bb8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9858e0",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 224
  },
  "hsl": {
    "h": 268.235,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.20034,
    "h": 302.4
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#9858E0
secondary
#CBE3B0
accent
#D11578
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9858E0

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

Preview Lab → · Contrast checker → · Palette generator →

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