#9873BF#9873BF

#9873BF is a light, moderate violet. Relative luminance 0.227; OKLCH L 62.2% C 0.118 H 305.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9873BF
RGBrgb(152, 115, 191)
HSLhsl(269, 37%, 60%)
HSVhsv(269, 40%, 75%)
CMYKcmyk(20.4%, 39.8%, 0%, 25.1%)
CIE-LABlab(54.76, 29.59, -34.49)
CIE-LCHlch(54.76, 45.44, 310.62°)
OKLaboklab(62.19% 0.0687 -0.0957)
OKLCHoklch(62.19% 0.118 305.6)
XYZxyz(28.4817, 22.6986, 52.1609)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873BF #9ABF73
analogous
#7374BF #9873BF #BE73BF
triadic
#9873BF #BF9873 #73BF98
tetradic
#9873BF #BF7374 #9ABF73 #73BFBE
square
#9873BF #BF7374 #9ABF73 #73BFBE
split-complementary
#9873BF #BFBE73 #74BF73
monochromatic
#5B3A7E #794DA8 #9873BF #B79DD2 #D6C7E5

Accessibility & contrast

On white

3.79
#9873BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9873BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873BF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873BF#FFFFFF#000000##000000
##9873BF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#6A83BD
Tritanopia (blue-blind)
#927F90
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9873bf;
/* rgb */ color: rgb(152, 115, 191);
/* oklch */ color: oklch(62.2% 0.118 305.6);
Tailwind
colors: {
  custom: {
    50: '#b79cd2',
    500: '#9873bf',
    950: '#000000',
  },
}
SCSS
$custom: #9873bf;
$custom-light: #b79cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9873bf",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 269.211,
    "s": 37.255,
    "l": 60
  },
  "oklch": {
    "l": 0.62188,
    "c": 0.11783,
    "h": 305.6
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#9873BF
secondary
#C7D6B8
accent
#CD5B95
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9873BF

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

Preview Lab → · Contrast checker → · Palette generator →

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