#9858DE#9858DE

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

Color values

HEX#9858DE
RGBrgb(152, 88, 222)
HSLhsl(269, 67%, 61%)
HSVhsv(269, 60%, 87%)
CMYKcmyk(31.5%, 60.4%, 0%, 12.9%)
CIE-LABlab(50.60, 51.91, -58.75)
CIE-LCHlch(50.60, 78.39, 311.46°)
OKLaboklab(59.64% 0.1074 -0.1664)
OKLCHoklch(59.64% 0.198 302.8)
XYZxyz(29.6204, 18.9288, 71.1862)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858DE #9EDE58
analogous
#585BDE #9858DE #DB58DE
triadic
#9858DE #DE9858 #58DE98
tetradic
#9858DE #DE585B #9EDE58 #58DEDB
square
#9858DE #DE585B #9EDE58 #58DEDB
split-complementary
#9858DE #DEDB58 #5BDE58
monochromatic
#5B1F9D #7929D0 #9858DE #B88BE8 #D7BEF2

Accessibility & contrast

On white

4.39
#9858DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9858DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858DE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858DE#FFFFFF#000000##000000
##9858DE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0377E2
Deuteranopia (green-blind)
#3378DB
Tritanopia (blue-blind)
#8A7493
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9858de;
/* rgb */ color: rgb(152, 88, 222);
/* oklch */ color: oklch(59.6% 0.198 302.8);
Tailwind
colors: {
  custom: {
    50: '#bb8ae9',
    500: '#9858de',
    950: '#000000',
  },
}
SCSS
$custom: #9858de;
$custom-light: #bb8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#9858de",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 268.657,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59643,
    "c": 0.19808,
    "h": 302.8
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#9858DE
secondary
#CAE2B0
accent
#CF1777
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9858DE

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

Preview Lab → · Contrast checker → · Palette generator →

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