#B873EB#B873EB

#B873EB is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.181 H 308.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B873EB
RGBrgb(184, 115, 235)
HSLhsl(275, 75%, 69%)
HSVhsv(275, 51%, 92%)
CMYKcmyk(21.7%, 51.1%, 0%, 7.8%)
CIE-LABlab(60.29, 48.60, -50.36)
CIE-LCHlch(60.29, 69.99, 313.98°)
OKLaboklab(67.8% 0.1138 -0.141)
OKLCHoklch(67.8% 0.181 308.9)
XYZxyz(40.8904, 28.4506, 81.9186)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B873EB #A6EB73
analogous
#7C73EB #B873EB #EB73E2
triadic
#B873EB #EBB873 #73EBB8
tetradic
#B873EB #EB7C73 #A6EB73 #73E2EB
square
#B873EB #EB7C73 #A6EB73 #73E2EB
split-complementary
#B873EB #E2EB73 #73EB7C
monochromatic
#7F1CC7 #9D3DE3 #B873EB #D3A9F3 #EEDEFA

Accessibility & contrast

On white

3.14
#B873EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B873EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B873EB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B873EB#FFFFFF#000000##000000
##B873EB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#B188A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b873eb;
/* rgb */ color: rgb(184, 115, 235);
/* oklch */ color: oklch(67.8% 0.181 308.9);
Tailwind
colors: {
  custom: {
    50: '#d09df2',
    500: '#b873eb',
    950: '#000000',
  },
}
SCSS
$custom: #b873eb;
$custom-light: #d09df2;
$custom-dark: #000000;
JSON
{
  "hex": "#b873eb",
  "rgb": {
    "r": 184,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 274.5,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67797,
    "c": 0.18122,
    "h": 308.9
  },
  "luminance": 0.2845
}

Semantic roles & 50–950 ramp

primary
#B873EB
secondary
#DAEFCB
accent
#D70E64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B873EB

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

Preview Lab → · Contrast checker → · Palette generator →

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