#9858DF#9858DF

#9858DF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.199 H 302.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9858DF
RGBrgb(152, 88, 223)
HSLhsl(268, 68%, 61%)
HSVhsv(268, 61%, 87%)
CMYKcmyk(31.8%, 60.5%, 0%, 12.5%)
CIE-LABlab(50.67, 52.15, -59.21)
CIE-LCHlch(50.67, 78.90, 311.37°)
OKLaboklab(59.71% 0.1074 -0.1678)
OKLCHoklch(59.71% 0.199 302.6)
XYZxyz(29.7548, 18.9825, 71.8942)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858DF #9FDF58
analogous
#585BDF #9858DF #DB58DF
triadic
#9858DF #DF9858 #58DF98
tetradic
#9858DF #DF585B #9FDF58 #58DFDB
square
#9858DF #DF585B #9FDF58 #58DFDB
split-complementary
#9858DF #DFDB58 #5BDF58
monochromatic
#5B1E9E #7928D2 #9858DF #B88BE9 #D7BFF3

Accessibility & contrast

On white

4.38
#9858DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9858DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858DF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858DF#FFFFFF#000000##000000
##9858DF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#3178DC
Tritanopia (blue-blind)
#8A7493
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9858df;
/* rgb */ color: rgb(152, 88, 223);
/* oklch */ color: oklch(59.7% 0.199 302.6);
Tailwind
colors: {
  custom: {
    50: '#bb8aea',
    500: '#9858df',
    950: '#000000',
  },
}
SCSS
$custom: #9858df;
$custom-light: #bb8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9858df",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 268.444,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59709,
    "c": 0.19922,
    "h": 302.6
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9858DF

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

Preview Lab → · Contrast checker → · Palette generator →

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