#B873DC#B873DC

#B873DC is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.0% C 0.164 H 313.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B873DC
RGBrgb(184, 115, 220)
HSLhsl(279, 60%, 66%)
HSVhsv(279, 48%, 86%)
CMYKcmyk(16.4%, 47.7%, 0%, 13.7%)
CIE-LABlab(59.54, 45.33, -43.17)
CIE-LCHlch(59.54, 62.60, 316.40°)
OKLaboklab(67% 0.1122 -0.1201)
OKLCHoklch(67% 0.164 313)
XYZxyz(38.8140, 27.6200, 70.9828)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B873DC #97DC73
analogous
#8373DC #B873DC #DC73CB
triadic
#B873DC #DCB873 #73DCB8
tetradic
#B873DC #DC8373 #97DC73 #73CBDC
square
#B873DC #DC8373 #97DC73 #73CBDC
split-complementary
#B873DC #CBDC73 #73DC83
monochromatic
#7E2BAA #9F42D0 #B873DC #D1A4E8 #EAD5F4

Accessibility & contrast

On white

3.22
#B873DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B873DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B873DC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B873DC#FFFFFF#000000##000000
##B873DC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE0
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#B5839D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b873dc;
/* rgb */ color: rgb(184, 115, 220);
/* oklch */ color: oklch(67.0% 0.164 313.0);
Tailwind
colors: {
  custom: {
    50: '#cf9de7',
    500: '#b873dc',
    950: '#000000',
  },
}
SCSS
$custom: #b873dc;
$custom-light: #cf9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#b873dc",
  "rgb": {
    "r": 184,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 279.429,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66996,
    "c": 0.16435,
    "h": 313
  },
  "luminance": 0.27619
}

Semantic roles & 50–950 ramp

primary
#B873DC
secondary
#D0E7C4
accent
#C81E58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B873DC

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

Preview Lab → · Contrast checker → · Palette generator →

#B873DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva