#9858D8#9858D8

#9858D8 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.191 H 304.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9858D8
RGBrgb(152, 88, 216)
HSLhsl(270, 62%, 60%)
HSVhsv(270, 59%, 85%)
CMYKcmyk(29.6%, 59.3%, 0%, 15.3%)
CIE-LABlab(50.23, 50.47, -55.94)
CIE-LCHlch(50.23, 75.35, 312.06°)
OKLaboklab(59.25% 0.1076 -0.1582)
OKLCHoklch(59.25% 0.191 304.2)
XYZxyz(28.8305, 18.6128, 67.0262)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858D8 #98D858
analogous
#5858D8 #9858D8 #D858D8
triadic
#9858D8 #D89858 #58D898
tetradic
#9858D8 #D85858 #98D858 #58D8D8
square
#9858D8 #D85858 #98D858 #58D8D8
split-complementary
#9858D8 #D8D858 #58D858
monochromatic
#5B2293 #792EC5 #9858D8 #B78AE4 #D5BBEF

Accessibility & contrast

On white

4.45
#9858D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9858D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858D8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858D8#FFFFFF#000000##000000
##9858D81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1976DC
Deuteranopia (green-blind)
#3A77D5
Tritanopia (blue-blind)
#8C7290
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9858d8;
/* rgb */ color: rgb(152, 88, 216);
/* oklch */ color: oklch(59.3% 0.191 304.2);
Tailwind
colors: {
  custom: {
    50: '#ba8ae5',
    500: '#9858d8',
    950: '#000000',
  },
}
SCSS
$custom: #9858d8;
$custom-light: #ba8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#9858d8",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 270,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.19129,
    "h": 304.2
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#9858D8
secondary
#C6DFAD
accent
#E54394
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9858D8

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

Preview Lab → · Contrast checker → · Palette generator →

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