#B873EF#B873EF

#B873EF is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.186 H 307.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B873EF
RGBrgb(184, 115, 239)
HSLhsl(273, 79%, 69%)
HSVhsv(273, 52%, 94%)
CMYKcmyk(23%, 51.9%, 0%, 6.3%)
CIE-LABlab(60.50, 49.49, -52.25)
CIE-LCHlch(60.50, 71.97, 313.45°)
OKLaboklab(68.02% 0.1141 -0.1466)
OKLCHoklch(68.02% 0.186 307.9)
XYZxyz(41.4748, 28.6843, 84.9963)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B873EF #AAEF73
analogous
#7A73EF #B873EF #EF73E8
triadic
#B873EF #EFB873 #73EFB8
tetradic
#B873EF #EF7A73 #AAEF73 #73E8EF
square
#B873EF #EF7A73 #AAEF73 #73E8EF
split-complementary
#B873EF #E8EF73 #73EF7A
monochromatic
#7E18D0 #9C3CE9 #B873EF #D4AAF5 #F0E1FC

Accessibility & contrast

On white

3.12
#B873EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B873EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B873EF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B873EF#FFFFFF#000000##000000
##B873EF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#B089A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b873ef;
/* rgb */ color: rgb(184, 115, 239);
/* oklch */ color: oklch(68.0% 0.186 307.9);
Tailwind
colors: {
  custom: {
    50: '#d09df5',
    500: '#b873ef',
    950: '#000000',
  },
}
SCSS
$custom: #b873ef;
$custom-light: #d09df5;
$custom-dark: #000000;
JSON
{
  "hex": "#b873ef",
  "rgb": {
    "r": 184,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 273.387,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68018,
    "c": 0.18574,
    "h": 307.9
  },
  "luminance": 0.28684
}

Semantic roles & 50–950 ramp

primary
#B873EF
secondary
#DDF1CD
accent
#DC0A67
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B873EF

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

Preview Lab → · Contrast checker → · Palette generator →

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