#9858CD#9858CD

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

Color values

HEX#9858CD
RGBrgb(152, 88, 205)
HSLhsl(273, 54%, 57%)
HSVhsv(273, 57%, 80%)
CMYKcmyk(25.9%, 57.1%, 0%, 19.6%)
CIE-LABlab(49.57, 47.88, -50.72)
CIE-LCHlch(49.57, 69.75, 313.35°)
OKLaboklab(58.56% 0.1075 -0.1429)
OKLCHoklch(58.56% 0.179 307)
XYZxyz(27.4558, 18.0629, 59.7859)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858CD #8DCD58
analogous
#5E58CD #9858CD #CD58C7
triadic
#9858CD #CD9858 #58CD98
tetradic
#9858CD #CD5E58 #8DCD58 #58C7CD
square
#9858CD #CD5E58 #8DCD58 #58C7CD
split-complementary
#9858CD #C7CD58 #58CD5E
monochromatic
#5A2783 #7A35B2 #9858CD #B587DB #D2B6E9

Accessibility & contrast

On white

4.55
#9858CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9858CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858CD#FFFFFF#000000##000000
##9858CD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D1
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#906E8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9858cd;
/* rgb */ color: rgb(152, 88, 205);
/* oklch */ color: oklch(58.6% 0.179 307.0);
Tailwind
colors: {
  custom: {
    50: '#b98add',
    500: '#9858cd',
    950: '#000000',
  },
}
SCSS
$custom: #9858cd;
$custom-light: #b98add;
$custom-dark: #000000;
JSON
{
  "hex": "#9858cd",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 272.821,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.17881,
    "h": 307
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#9858CD
secondary
#BED8A9
accent
#DD4B8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9858CD

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

Preview Lab → · Contrast checker → · Palette generator →

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