#9873CD#9873CD

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

Color values

HEX#9873CD
RGBrgb(152, 115, 205)
HSLhsl(265, 47%, 63%)
HSVhsv(265, 44%, 80%)
CMYKcmyk(25.9%, 43.9%, 0%, 19.6%)
CIE-LABlab(55.43, 32.93, -41.43)
CIE-LCHlch(55.43, 52.92, 308.48°)
OKLaboklab(62.91% 0.0712 -0.1158)
OKLCHoklch(62.91% 0.136 301.6)
XYZxyz(30.0966, 23.3446, 60.6661)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873CD #A8CD73
analogous
#737BCD #9873CD #C573CD
triadic
#9873CD #CD9873 #73CD98
tetradic
#9873CD #CD737B #A8CD73 #73CDC5
square
#9873CD #CD737B #A8CD73 #73CDC5
split-complementary
#9873CD #CDC573 #7BCD73
monochromatic
#5A3492 #7746BD #9873CD #B9A0DD #DACDED

Accessibility & contrast

On white

3.70
#9873CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9873CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873CD#FFFFFF#000000##000000
##9873CD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#6384CB
Tritanopia (blue-blind)
#8E8296
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9873cd;
/* rgb */ color: rgb(152, 115, 205);
/* oklch */ color: oklch(62.9% 0.136 301.6);
Tailwind
colors: {
  custom: {
    50: '#b89cdc',
    500: '#9873cd',
    950: '#000000',
  },
}
SCSS
$custom: #9873cd;
$custom-light: #b89cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9873cd",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 264.667,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.13596,
    "h": 301.6
  },
  "luminance": 0.23345
}

Semantic roles & 50–950 ramp

primary
#9873CD
secondary
#D1DEBE
accent
#BB2B80
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9873CD

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

Preview Lab → · Contrast checker → · Palette generator →

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