#B874EA#B874EA

#B874EA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.9% C 0.179 H 309.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B874EA
RGBrgb(184, 116, 234)
HSLhsl(275, 74%, 69%)
HSVhsv(275, 50%, 92%)
CMYKcmyk(21.4%, 50.4%, 0%, 8.2%)
CIE-LABlab(60.45, 47.85, -49.56)
CIE-LCHlch(60.45, 68.89, 313.99°)
OKLaboklab(67.89% 0.1124 -0.1387)
OKLCHoklch(67.89% 0.179 309)
XYZxyz(40.8610, 28.6222, 81.1980)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874EA #A6EA74
analogous
#7D74EA #B874EA #EA74E1
triadic
#B874EA #EAB874 #74EAB8
tetradic
#B874EA #EA7D74 #A6EA74 #74E1EA
square
#B874EA #EA7D74 #A6EA74 #74E1EA
split-complementary
#B874EA #E1EA74 #74EA7D
monochromatic
#7F1EC6 #9D3FE2 #B874EA #D3A9F2 #EEDEFA

Accessibility & contrast

On white

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

On black

6.72
#B874EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874EA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874EA#FFFFFF#000000##000000
##B874EA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#B188A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b874ea;
/* rgb */ color: rgb(184, 116, 234);
/* oklch */ color: oklch(67.9% 0.179 309.0);
Tailwind
colors: {
  custom: {
    50: '#d09ef1',
    500: '#b874ea',
    950: '#000000',
  },
}
SCSS
$custom: #b874ea;
$custom-light: #d09ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b874ea",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 274.576,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67893,
    "c": 0.17853,
    "h": 309
  },
  "luminance": 0.28622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B874EA

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

Preview Lab → · Contrast checker → · Palette generator →

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