#B873FE#B873FE

#B873FE is a light, highly saturated violet. Relative luminance 0.296; OKLCH L 68.9% C 0.203 H 304.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B873FE
RGBrgb(184, 115, 254)
HSLhsl(270, 99%, 72%)
HSVhsv(270, 55%, 100%)
CMYKcmyk(27.6%, 54.7%, 0%, 0.4%)
CIE-LABlab(61.31, 52.90, -59.24)
CIE-LCHlch(61.31, 79.43, 311.76°)
OKLaboklab(68.88% 0.1149 -0.167)
OKLCHoklch(68.88% 0.203 304.5)
XYZxyz(43.7834, 29.6078, 97.1550)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B873FE #B9FE73
analogous
#7374FE #B873FE #FD73FE
triadic
#B873FE #FEB873 #73FEB8
tetradic
#B873FE #FE7374 #B9FE73 #73FEFD
square
#B873FE #FE7374 #B9FE73 #73FEFD
split-complementary
#B873FE #FEFD73 #74FE73
monochromatic
#7A02F5 #9936FE #B873FE #D7B0FE #F0E1FF

Accessibility & contrast

On white

3.03
#B873FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B873FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B873FE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B873FE#FFFFFF#000000##000000
##B873FE1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#5894FB
Tritanopia (blue-blind)
#AC8DAE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b873fe;
/* rgb */ color: rgb(184, 115, 254);
/* oklch */ color: oklch(68.9% 0.203 304.5);
Tailwind
colors: {
  custom: {
    50: '#d19eff',
    500: '#b873fe',
    950: '#000000',
  },
}
SCSS
$custom: #b873fe;
$custom-light: #d19eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b873fe",
  "rgb": {
    "r": 184,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 269.784,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6888,
    "c": 0.20273,
    "h": 304.5
  },
  "luminance": 0.29608
}

Semantic roles & 50–950 ramp

primary
#B873FE
secondary
#E6F7D4
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B873FE

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

Preview Lab → · Contrast checker → · Palette generator →

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