#B874EB#B874EB

#B874EB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.180 H 308.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B874EB
RGBrgb(184, 116, 235)
HSLhsl(274, 75%, 69%)
HSVhsv(274, 51%, 92%)
CMYKcmyk(21.7%, 50.6%, 0%, 7.8%)
CIE-LABlab(60.50, 48.07, -50.04)
CIE-LCHlch(60.50, 69.39, 313.85°)
OKLaboklab(67.95% 0.1125 -0.1401)
OKLCHoklch(67.95% 0.18 308.8)
XYZxyz(41.0050, 28.6799, 81.9568)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874EB #A7EB74
analogous
#7D74EB #B874EB #EB74E3
triadic
#B874EB #EBB874 #74EBB8
tetradic
#B874EB #EB7D74 #A7EB74 #74E3EB
square
#B874EB #EB7D74 #A7EB74 #74E3EB
split-complementary
#B874EB #E3EB74 #74EB7D
monochromatic
#7F1DC8 #9D3EE3 #B874EB #D3AAF3 #EFDFFA

Accessibility & contrast

On white

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

On black

6.74
#B874EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874EB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874EB#FFFFFF#000000##000000
##B874EB1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#B188A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b874eb;
/* rgb */ color: rgb(184, 116, 235);
/* oklch */ color: oklch(67.9% 0.180 308.8);
Tailwind
colors: {
  custom: {
    50: '#d09ef2',
    500: '#b874eb',
    950: '#000000',
  },
}
SCSS
$custom: #b874eb;
$custom-light: #d09ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b874eb",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 274.286,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67948,
    "c": 0.17966,
    "h": 308.8
  },
  "luminance": 0.28679
}

Semantic roles & 50–950 ramp

primary
#B874EB
secondary
#DBEFCC
accent
#D70F64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B874EB

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

Preview Lab → · Contrast checker → · Palette generator →

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