#9873CC#9873CC

#9873CC is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.9% C 0.135 H 301.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9873CC
RGBrgb(152, 115, 204)
HSLhsl(265, 47%, 63%)
HSVhsv(265, 44%, 80%)
CMYKcmyk(25.5%, 43.6%, 0%, 20%)
CIE-LABlab(55.38, 32.69, -40.94)
CIE-LCHlch(55.38, 52.38, 308.61°)
OKLaboklab(62.85% 0.071 -0.1144)
OKLCHoklch(62.85% 0.135 301.8)
XYZxyz(29.9763, 23.2965, 60.0325)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873CC #A7CC73
analogous
#737ACC #9873CC #C573CC
triadic
#9873CC #CC9873 #73CC98
tetradic
#9873CC #CC737A #A7CC73 #73CCC5
square
#9873CC #CC737A #A7CC73 #73CCC5
split-complementary
#9873CC #CCC573 #7ACC73
monochromatic
#5B3490 #7746BC #9873CC #B9A0DC #DACDED

Accessibility & contrast

On white

3.71
#9873CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9873CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873CC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873CC#FFFFFF#000000##000000
##9873CC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#6384CA
Tritanopia (blue-blind)
#8F8296
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9873cc;
/* rgb */ color: rgb(152, 115, 204);
/* oklch */ color: oklch(62.9% 0.135 301.8);
Tailwind
colors: {
  custom: {
    50: '#b89cdc',
    500: '#9873cc',
    950: '#000000',
  },
}
SCSS
$custom: #9873cc;
$custom-light: #b89cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9873cc",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 264.944,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.13467,
    "h": 301.8
  },
  "luminance": 0.23297
}

Semantic roles & 50–950 ramp

primary
#9873CC
secondary
#D0DEBD
accent
#BA2C7F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9873CC

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

Preview Lab → · Contrast checker → · Palette generator →

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