#B874EE#B874EE

#B874EE is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.183 H 308.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B874EE
RGBrgb(184, 116, 238)
HSLhsl(273, 78%, 69%)
HSVhsv(273, 51%, 93%)
CMYKcmyk(22.7%, 51.3%, 0%, 6.7%)
CIE-LABlab(60.65, 48.74, -51.46)
CIE-LCHlch(60.65, 70.88, 313.45°)
OKLaboklab(68.11% 0.1127 -0.1442)
OKLCHoklch(68.11% 0.183 308)
XYZxyz(41.4421, 28.8547, 84.2587)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874EE #AAEE74
analogous
#7B74EE #B874EE #EE74E7
triadic
#B874EE #EEB874 #74EEB8
tetradic
#B874EE #EE7B74 #AAEE74 #74E7EE
square
#B874EE #EE7B74 #AAEE74 #74E7EE
split-complementary
#B874EE #E7EE74 #74EE7B
monochromatic
#7E19CE #9C3DE7 #B874EE #D4ABF5 #F0E1FB

Accessibility & contrast

On white

3.10
#B874EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B874EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874EE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874EE#FFFFFF#000000##000000
##B874EE1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F2
Deuteranopia (green-blind)
#6593EB
Tritanopia (blue-blind)
#B089A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b874ee;
/* rgb */ color: rgb(184, 116, 238);
/* oklch */ color: oklch(68.1% 0.183 308.0);
Tailwind
colors: {
  custom: {
    50: '#d09ef4',
    500: '#b874ee',
    950: '#000000',
  },
}
SCSS
$custom: #b874ee;
$custom-light: #d09ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b874ee",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 273.443,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68113,
    "c": 0.18307,
    "h": 308
  },
  "luminance": 0.28854
}

Semantic roles & 50–950 ramp

primary
#B874EE
secondary
#DDF0CD
accent
#DA0B67
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B874EE

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

Preview Lab → · Contrast checker → · Palette generator →

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