#9858CB#9858CB

#9858CB is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.177 H 307.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9858CB
RGBrgb(152, 88, 203)
HSLhsl(273, 53%, 57%)
HSVhsv(273, 57%, 80%)
CMYKcmyk(25.1%, 56.7%, 0%, 20.4%)
CIE-LABlab(49.46, 47.42, -49.76)
CIE-LCHlch(49.46, 68.73, 313.62°)
OKLaboklab(58.44% 0.1075 -0.14)
OKLCHoklch(58.44% 0.177 307.5)
XYZxyz(27.2159, 17.9670, 58.5226)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858CB #8BCB58
analogous
#5F58CB #9858CB #CB58C5
triadic
#9858CB #CB9858 #58CB98
tetradic
#9858CB #CB5F58 #8BCB58 #58C5CB
square
#9858CB #CB5F58 #8BCB58 #58C5CB
split-complementary
#9858CB #C5CB58 #58CB5F
monochromatic
#592881 #7A37AF #9858CB #B587DA #D2B5E8

Accessibility & contrast

On white

4.57
#9858CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9858CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858CB#FFFFFF#000000##000000
##9858CB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#906D89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9858cb;
/* rgb */ color: rgb(152, 88, 203);
/* oklch */ color: oklch(58.4% 0.177 307.5);
Tailwind
colors: {
  custom: {
    50: '#b98adb',
    500: '#9858cb',
    950: '#000000',
  },
}
SCSS
$custom: #9858cb;
$custom-light: #b98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9858cb",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 273.391,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.17653,
    "h": 307.5
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#9858CB
secondary
#BDD7A8
accent
#DC4C8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9858CB

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

Preview Lab → · Contrast checker → · Palette generator →

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