#B855EC#B855EC

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

Color values

HEX#B855EC
RGBrgb(184, 85, 236)
HSLhsl(279, 80%, 63%)
HSVhsv(279, 64%, 93%)
CMYKcmyk(22%, 64%, 0%, 7.5%)
CIE-LABlab(54.81, 63.63, -59.67)
CIE-LCHlch(54.81, 87.23, 316.84°)
OKLaboklab(63.81% 0.1507 -0.1681)
OKLCHoklch(63.81% 0.226 311.9)
XYZxyz(38.1532, 22.7444, 81.7209)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B855EC #89EC55
analogous
#6D55EC #B855EC #EC55D4
triadic
#B855EC #ECB855 #55ECB8
tetradic
#B855EC #EC6D55 #89EC55 #55D4EC
square
#B855EC #EC6D55 #89EC55 #55D4EC
split-complementary
#B855EC #D4EC55 #55EC6D
monochromatic
#7C14B3 #A11EE6 #B855EC #CF8CF2 #E6C3F8

Accessibility & contrast

On white

3.78
#B855EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B855EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B855EC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B855EC#FFFFFF#000000##000000
##B855EC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#B27399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b855ec;
/* rgb */ color: rgb(184, 85, 236);
/* oklch */ color: oklch(63.8% 0.226 311.9);
Tailwind
colors: {
  custom: {
    50: '#d18bf3',
    500: '#b855ec',
    950: '#000000',
  },
}
SCSS
$custom: #b855ec;
$custom-light: #d18bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b855ec",
  "rgb": {
    "r": 184,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 279.338,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63805,
    "c": 0.2258,
    "h": 311.9
  },
  "luminance": 0.22743
}

Semantic roles & 50–950 ramp

primary
#B855EC
secondary
#C6EAB3
accent
#DC0952
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B855EC

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

Preview Lab → · Contrast checker → · Palette generator →

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