#B873EA#B873EA

#B873EA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.7% C 0.180 H 309.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B873EA
RGBrgb(184, 115, 234)
HSLhsl(275, 74%, 68%)
HSVhsv(275, 51%, 92%)
CMYKcmyk(21.4%, 50.9%, 0%, 8.2%)
CIE-LABlab(60.24, 48.38, -49.89)
CIE-LCHlch(60.24, 69.49, 314.12°)
OKLaboklab(67.74% 0.1137 -0.1397)
OKLCHoklch(67.74% 0.18 309.1)
XYZxyz(40.7463, 28.3929, 81.1598)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B873EA #A5EA73
analogous
#7C73EA #B873EA #EA73E0
triadic
#B873EA #EAB873 #73EAB8
tetradic
#B873EA #EA7C73 #A5EA73 #73E0EA
square
#B873EA #EA7C73 #A5EA73 #73E0EA
split-complementary
#B873EA #E0EA73 #73EA7C
monochromatic
#7F1EC5 #9D3EE2 #B873EA #D3A8F2 #EEDDFA

Accessibility & contrast

On white

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

On black

6.68
#B873EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B873EA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B873EA#FFFFFF#000000##000000
##B873EA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#B187A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b873ea;
/* rgb */ color: rgb(184, 115, 234);
/* oklch */ color: oklch(67.7% 0.180 309.1);
Tailwind
colors: {
  custom: {
    50: '#d09df1',
    500: '#b873ea',
    950: '#000000',
  },
}
SCSS
$custom: #b873ea;
$custom-light: #d09df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b873ea",
  "rgb": {
    "r": 184,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 274.79,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67742,
    "c": 0.18009,
    "h": 309.1
  },
  "luminance": 0.28392
}

Semantic roles & 50–950 ramp

primary
#B873EA
secondary
#DAEECA
accent
#D60F63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B873EA

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

Preview Lab → · Contrast checker → · Palette generator →

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