#9858CA#9858CA

#9858CA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.175 H 307.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9858CA
RGBrgb(152, 88, 202)
HSLhsl(274, 52%, 57%)
HSVhsv(274, 56%, 79%)
CMYKcmyk(24.8%, 56.4%, 0%, 20.8%)
CIE-LABlab(49.40, 47.19, -49.27)
CIE-LCHlch(49.40, 68.23, 313.76°)
OKLaboklab(58.38% 0.1074 -0.1386)
OKLCHoklch(58.38% 0.175 307.8)
XYZxyz(27.0971, 17.9195, 57.8970)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858CA #8ACA58
analogous
#5F58CA #9858CA #CA58C3
triadic
#9858CA #CA9858 #58CA98
tetradic
#9858CA #CA5F58 #8ACA58 #58C3CA
square
#9858CA #CA5F58 #8ACA58 #58C3CA
split-complementary
#9858CA #C3CA58 #58CA5F
monochromatic
#59287F #7A37AE #9858CA #B586D9 #D1B5E7

Accessibility & contrast

On white

4.58
#9858CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9858CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858CA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858CA#FFFFFF#000000##000000
##9858CA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#4876C7
Tritanopia (blue-blind)
#916D89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9858ca;
/* rgb */ color: rgb(152, 88, 202);
/* oklch */ color: oklch(58.4% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#b98adb',
    500: '#9858ca',
    950: '#000000',
  },
}
SCSS
$custom: #9858ca;
$custom-light: #b98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9858ca",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 273.684,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.1754,
    "h": 307.8
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#9858CA
secondary
#BCD6A8
accent
#DB4D8B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9858CA

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

Preview Lab → · Contrast checker → · Palette generator →

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