#9873CF#9873CF

#9873CF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.0% C 0.139 H 301.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9873CF
RGBrgb(152, 115, 207)
HSLhsl(264, 49%, 63%)
HSVhsv(264, 44%, 81%)
CMYKcmyk(26.6%, 44.4%, 0%, 18.8%)
CIE-LABlab(55.52, 33.42, -42.40)
CIE-LCHlch(55.52, 53.99, 308.24°)
OKLaboklab(63.01% 0.0715 -0.1187)
OKLCHoklch(63.01% 0.139 301.1)
XYZxyz(30.3396, 23.4418, 61.9457)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873CF #AACF73
analogous
#737CCF #9873CF #C673CF
triadic
#9873CF #CF9873 #73CF98
tetradic
#9873CF #CF737C #AACF73 #73CFC6
square
#9873CF #CF737C #AACF73 #73CFC6
split-complementary
#9873CF #CFC673 #7CCF73
monochromatic
#5A3395 #7645BF #9873CF #BAA1DF #DBCEEE

Accessibility & contrast

On white

3.69
#9873CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#9873CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873CF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873CF#FFFFFF#000000##000000
##9873CF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5985D2
Deuteranopia (green-blind)
#6185CD
Tritanopia (blue-blind)
#8E8397
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9873cf;
/* rgb */ color: rgb(152, 115, 207);
/* oklch */ color: oklch(63.0% 0.139 301.1);
Tailwind
colors: {
  custom: {
    50: '#b89cde',
    500: '#9873cf',
    950: '#000000',
  },
}
SCSS
$custom: #9873cf;
$custom-light: #b89cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9873cf",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 264.13,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.13855,
    "h": 301.1
  },
  "luminance": 0.23442
}

Semantic roles & 50–950 ramp

primary
#9873CF
secondary
#D2DFBE
accent
#BC2981
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9873CF

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

Preview Lab → · Contrast checker → · Palette generator →

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