#B874EC#B874EC

#B874EC is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.181 H 308.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B874EC
RGBrgb(184, 116, 236)
HSLhsl(274, 76%, 69%)
HSVhsv(274, 51%, 93%)
CMYKcmyk(22%, 50.8%, 0%, 7.5%)
CIE-LABlab(60.55, 48.30, -50.51)
CIE-LCHlch(60.55, 69.88, 313.72°)
OKLaboklab(68% 0.1126 -0.1415)
OKLCHoklch(68% 0.181 308.5)
XYZxyz(41.1499, 28.7378, 82.7198)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874EC #A8EC74
analogous
#7C74EC #B874EC #EC74E4
triadic
#B874EC #ECB874 #74ECB8
tetradic
#B874EC #EC7C74 #A8EC74 #74E4EC
square
#B874EC #EC7C74 #A8EC74 #74E4EC
split-complementary
#B874EC #E4EC74 #74EC7C
monochromatic
#7E1CCA #9C3EE5 #B874EC #D4AAF3 #EFE0FB

Accessibility & contrast

On white

3.11
#B874EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#B874EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874EC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874EC#FFFFFF#000000##000000
##B874EC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#B189A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b874ec;
/* rgb */ color: rgb(184, 116, 236);
/* oklch */ color: oklch(68.0% 0.181 308.5);
Tailwind
colors: {
  custom: {
    50: '#d09ef3',
    500: '#b874ec',
    950: '#000000',
  },
}
SCSS
$custom: #b874ec;
$custom-light: #d09ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b874ec",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 274,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68003,
    "c": 0.18079,
    "h": 308.5
  },
  "luminance": 0.28737
}

Semantic roles & 50–950 ramp

primary
#B874EC
secondary
#DCEFCC
accent
#D80D65
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B874EC

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

Preview Lab → · Contrast checker → · Palette generator →

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