#9873BC#9873BC

#9873BC is a light, moderate violet. Relative luminance 0.226; OKLCH L 62.0% C 0.114 H 306.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9873BC
RGBrgb(152, 115, 188)
HSLhsl(270, 35%, 59%)
HSVhsv(270, 39%, 74%)
CMYKcmyk(19.1%, 38.8%, 0%, 26.3%)
CIE-LABlab(54.62, 28.89, -32.99)
CIE-LCHlch(54.62, 43.85, 311.21°)
OKLaboklab(62.04% 0.0681 -0.0914)
OKLCHoklch(62.04% 0.114 306.7)
XYZxyz(28.1549, 22.5679, 50.4400)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873BC #97BC73
analogous
#7473BC #9873BC #BC73BC
triadic
#9873BC #BC9873 #73BC98
tetradic
#9873BC #BC7473 #97BC73 #73BCBC
square
#9873BC #BC7473 #97BC73 #73BCBC
split-complementary
#9873BC #BCBC73 #73BC74
monochromatic
#5B3A7A #794EA4 #9873BC #B69CD0 #D5C6E4

Accessibility & contrast

On white

3.81
#9873BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9873BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873BC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873BC#FFFFFF#000000##000000
##9873BC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BF
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#937E8F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9873bc;
/* rgb */ color: rgb(152, 115, 188);
/* oklch */ color: oklch(62.0% 0.114 306.7);
Tailwind
colors: {
  custom: {
    50: '#b79cd0',
    500: '#9873bc',
    950: '#000000',
  },
}
SCSS
$custom: #9873bc;
$custom-light: #b79cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9873bc",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 270.411,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6204,
    "c": 0.11397,
    "h": 306.7
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#9873BC
secondary
#C5D4B7
accent
#CB5C93
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9873BC

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

Preview Lab → · Contrast checker → · Palette generator →

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