#9858CC#9858CC

#9858CC is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.178 H 307.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9858CC
RGBrgb(152, 88, 204)
HSLhsl(273, 53%, 57%)
HSVhsv(273, 57%, 80%)
CMYKcmyk(25.5%, 56.9%, 0%, 20%)
CIE-LABlab(49.51, 47.65, -50.24)
CIE-LCHlch(49.51, 69.24, 313.49°)
OKLaboklab(58.5% 0.1075 -0.1415)
OKLCHoklch(58.5% 0.178 307.2)
XYZxyz(27.3355, 18.0148, 59.1522)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858CC #8CCC58
analogous
#5E58CC #9858CC #CC58C6
triadic
#9858CC #CC9858 #58CC98
tetradic
#9858CC #CC5E58 #8CCC58 #58C6CC
square
#9858CC #CC5E58 #8CCC58 #58C6CC
split-complementary
#9858CC #C6CC58 #58CC5E
monochromatic
#592882 #7A36B1 #9858CC #B587DA #D2B6E9

Accessibility & contrast

On white

4.56
#9858CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9858CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858CC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858CC#FFFFFF#000000##000000
##9858CC1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#906E8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9858cc;
/* rgb */ color: rgb(152, 88, 204);
/* oklch */ color: oklch(58.5% 0.178 307.2);
Tailwind
colors: {
  custom: {
    50: '#b98adc',
    500: '#9858cc',
    950: '#000000',
  },
}
SCSS
$custom: #9858cc;
$custom-light: #b98adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9858cc",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 273.103,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.17767,
    "h": 307.2
  },
  "luminance": 0.18014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9858CC

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

Preview Lab → · Contrast checker → · Palette generator →

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