#9858D9#9858D9

#9858D9 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.192 H 304.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9858D9
RGBrgb(152, 88, 217)
HSLhsl(270, 63%, 60%)
HSVhsv(270, 59%, 85%)
CMYKcmyk(30%, 59.4%, 0%, 14.9%)
CIE-LABlab(50.29, 50.71, -56.41)
CIE-LCHlch(50.29, 75.85, 311.95°)
OKLaboklab(59.32% 0.1075 -0.1596)
OKLCHoklch(59.32% 0.192 304)
XYZxyz(28.9602, 18.6647, 67.7091)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858D9 #99D958
analogous
#5859D9 #9858D9 #D858D9
triadic
#9858D9 #D99858 #58D998
tetradic
#9858D9 #D95859 #99D958 #58D9D8
square
#9858D9 #D95859 #99D958 #58D9D8
split-complementary
#9858D9 #D9D858 #59D958
monochromatic
#5B2295 #792DC7 #9858D9 #B78AE4 #D5BCF0

Accessibility & contrast

On white

4.44
#9858D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9858D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858D9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858D9#FFFFFF#000000##000000
##9858D91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1776DD
Deuteranopia (green-blind)
#3978D6
Tritanopia (blue-blind)
#8C7290
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9858d9;
/* rgb */ color: rgb(152, 88, 217);
/* oklch */ color: oklch(59.3% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#ba8ae5',
    500: '#9858d9',
    950: '#000000',
  },
}
SCSS
$custom: #9858d9;
$custom-light: #ba8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#9858d9",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 269.767,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.19243,
    "h": 304
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#9858D9
secondary
#C7DFAD
accent
#E64295
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9858D9

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

Preview Lab → · Contrast checker → · Palette generator →

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