#9858C8#9858C8

#9858C8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.173 H 308.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9858C8
RGBrgb(152, 88, 200)
HSLhsl(274, 50%, 56%)
HSVhsv(274, 56%, 78%)
CMYKcmyk(24%, 56%, 0%, 21.6%)
CIE-LABlab(49.28, 46.73, -48.31)
CIE-LCHlch(49.28, 67.21, 314.05°)
OKLaboklab(58.25% 0.1074 -0.1358)
OKLCHoklch(58.25% 0.173 308.3)
XYZxyz(26.8619, 17.8254, 56.6579)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858C8 #88C858
analogous
#6058C8 #9858C8 #C858C0
triadic
#9858C8 #C89858 #58C898
tetradic
#9858C8 #C86058 #88C858 #58C0C8
square
#9858C8 #C86058 #88C858 #58C0C8
split-complementary
#9858C8 #C0C858 #58C860
monochromatic
#59297D #7A38AB #9858C8 #B486D7 #D1B4E6

Accessibility & contrast

On white

4.60
#9858C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9858C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9858C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858C8#FFFFFF#000000##FFFFFF
##9858C81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3273CC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#916D88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9858c8;
/* rgb */ color: rgb(152, 88, 200);
/* oklch */ color: oklch(58.3% 0.173 308.3);
Tailwind
colors: {
  custom: {
    50: '#b98ad9',
    500: '#9858c8',
    950: '#000000',
  },
}
SCSS
$custom: #9858c8;
$custom-light: #b98ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9858c8",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 274.286,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.17313,
    "h": 308.3
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#9858C8
secondary
#BBD5A7
accent
#DA4E8A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9858C8

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

Preview Lab → · Contrast checker → · Palette generator →

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