#9858DD#9858DD

#9858DD is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.197 H 303.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9858DD
RGBrgb(152, 88, 221)
HSLhsl(269, 66%, 61%)
HSVhsv(269, 60%, 87%)
CMYKcmyk(31.2%, 60.2%, 0%, 13.3%)
CIE-LABlab(50.54, 51.67, -58.28)
CIE-LCHlch(50.54, 77.89, 311.56°)
OKLaboklab(59.58% 0.1074 -0.1651)
OKLCHoklch(59.58% 0.197 303.1)
XYZxyz(29.4868, 18.8753, 70.4825)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858DD #9DDD58
analogous
#585ADD #9858DD #DA58DD
triadic
#9858DD #DD9858 #58DD98
tetradic
#9858DD #DD585A #9DDD58 #58DDDA
square
#9858DD #DD585A #9DDD58 #58DDDA
split-complementary
#9858DD #DDDA58 #5ADD58
monochromatic
#5B209B #792ACE #9858DD #B78BE7 #D7BEF2

Accessibility & contrast

On white

4.40
#9858DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9858DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858DD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858DD#FFFFFF#000000##000000
##9858DD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0877E1
Deuteranopia (green-blind)
#3478DA
Tritanopia (blue-blind)
#8B7392
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9858dd;
/* rgb */ color: rgb(152, 88, 221);
/* oklch */ color: oklch(59.6% 0.197 303.1);
Tailwind
colors: {
  custom: {
    50: '#ba8ae8',
    500: '#9858dd',
    950: '#000000',
  },
}
SCSS
$custom: #9858dd;
$custom-light: #ba8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9858dd",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 268.872,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59578,
    "c": 0.19695,
    "h": 303.1
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#9858DD
secondary
#C9E2AF
accent
#CE1776
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9858DD

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

Preview Lab → · Contrast checker → · Palette generator →

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