#B854EC#B854EC

#B854EC is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.7% C 0.227 H 312.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B854EC
RGBrgb(184, 84, 236)
HSLhsl(279, 80%, 63%)
HSVhsv(279, 64%, 93%)
CMYKcmyk(22%, 64.4%, 0%, 7.5%)
CIE-LABlab(54.65, 64.08, -59.93)
CIE-LCHlch(54.65, 87.74, 316.91°)
OKLaboklab(63.69% 0.1518 -0.1689)
OKLCHoklch(63.69% 0.227 312)
XYZxyz(38.0751, 22.5881, 81.6948)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B854EC #88EC54
analogous
#6C54EC #B854EC #EC54D4
triadic
#B854EC #ECB854 #54ECB8
tetradic
#B854EC #EC6C54 #88EC54 #54D4EC
square
#B854EC #EC6C54 #88EC54 #54D4EC
split-complementary
#B854EC #D4EC54 #54EC6C
monochromatic
#7C14B2 #A11DE6 #B854EC #CF8BF2 #E6C2F8

Accessibility & contrast

On white

3.81
#B854EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B854EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B854EC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B854EC#FFFFFF#000000##000000
##B854EC1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#4685E8
Tritanopia (blue-blind)
#B27299
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b854ec;
/* rgb */ color: rgb(184, 84, 236);
/* oklch */ color: oklch(63.7% 0.227 312.0);
Tailwind
colors: {
  custom: {
    50: '#d18af3',
    500: '#b854ec',
    950: '#000000',
  },
}
SCSS
$custom: #b854ec;
$custom-light: #d18af3;
$custom-dark: #000000;
JSON
{
  "hex": "#b854ec",
  "rgb": {
    "r": 184,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 279.474,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.22711,
    "h": 312
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#B854EC
secondary
#C5E9B2
accent
#DC0951
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B854EC

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

Preview Lab → · Contrast checker → · Palette generator →

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