#9858CE#9858CE

#9858CE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.6% C 0.180 H 306.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9858CE
RGBrgb(152, 88, 206)
HSLhsl(273, 55%, 58%)
HSVhsv(273, 57%, 81%)
CMYKcmyk(26.2%, 57.3%, 0%, 19.2%)
CIE-LABlab(49.63, 48.12, -51.20)
CIE-LCHlch(49.63, 70.26, 313.22°)
OKLaboklab(58.62% 0.1075 -0.1443)
OKLCHoklch(58.62% 0.18 306.7)
XYZxyz(27.5769, 18.1114, 60.4236)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858CE #8ECE58
analogous
#5D58CE #9858CE #CE58C9
triadic
#9858CE #CE9858 #58CE98
tetradic
#9858CE #CE5D58 #8ECE58 #58C9CE
square
#9858CE #CE5D58 #8ECE58 #58C9CE
split-complementary
#9858CE #C9CE58 #58CE5D
monochromatic
#5A2785 #7A35B4 #9858CE #B587DC #D2B7EA

Accessibility & contrast

On white

4.54
#9858CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9858CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858CE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858CE#FFFFFF#000000##000000
##9858CE1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D2
Deuteranopia (green-blind)
#4477CB
Tritanopia (blue-blind)
#8F6E8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9858ce;
/* rgb */ color: rgb(152, 88, 206);
/* oklch */ color: oklch(58.6% 0.180 306.7);
Tailwind
colors: {
  custom: {
    50: '#b98add',
    500: '#9858ce',
    950: '#000000',
  },
}
SCSS
$custom: #9858ce;
$custom-light: #b98add;
$custom-dark: #000000;
JSON
{
  "hex": "#9858ce",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 272.542,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.17994,
    "h": 306.7
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#9858CE
secondary
#BFD9A9
accent
#DE4A8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9858CE

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

Preview Lab → · Contrast checker → · Palette generator →

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