#9858DC#9858DC

#9858DC is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.5% C 0.196 H 303.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9858DC
RGBrgb(152, 88, 220)
HSLhsl(269, 65%, 60%)
HSVhsv(269, 60%, 86%)
CMYKcmyk(30.9%, 60%, 0%, 13.7%)
CIE-LABlab(50.48, 51.43, -57.82)
CIE-LCHlch(50.48, 77.38, 311.65°)
OKLaboklab(59.51% 0.1075 -0.1637)
OKLCHoklch(59.51% 0.196 303.3)
XYZxyz(29.3540, 18.8222, 69.7829)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858DC #9CDC58
analogous
#585ADC #9858DC #DA58DC
triadic
#9858DC #DC9858 #58DC98
tetradic
#9858DC #DC585A #9CDC58 #58DCDA
square
#9858DC #DC585A #9CDC58 #58DCDA
split-complementary
#9858DC #DCDA58 #5ADC58
monochromatic
#5B2099 #792BCC #9858DC #B78BE7 #D6BDF1

Accessibility & contrast

On white

4.41
#9858DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9858DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858DC#FFFFFF#000000##000000
##9858DC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D77E0
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#8B7392
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9858dc;
/* rgb */ color: rgb(152, 88, 220);
/* oklch */ color: oklch(59.5% 0.196 303.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ae8',
    500: '#9858dc',
    950: '#000000',
  },
}
SCSS
$custom: #9858dc;
$custom-light: #ba8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9858dc",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 269.091,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.19582,
    "h": 303.3
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#9858DC
secondary
#C9E1AF
accent
#CD1875
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9858DC

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

Preview Lab → · Contrast checker → · Palette generator →

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