#B551EC#B551EC

#B551EC is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 63.0% C 0.230 H 311.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B551EC
RGBrgb(181, 81, 236)
HSLhsl(279, 80%, 62%)
HSVhsv(279, 66%, 93%)
CMYKcmyk(23.3%, 65.7%, 0%, 7.5%)
CIE-LABlab(53.78, 64.76, -61.35)
CIE-LCHlch(53.78, 89.21, 316.55°)
OKLaboklab(62.98% 0.1514 -0.1731)
OKLCHoklch(62.98% 0.23 311.2)
XYZxyz(37.1360, 21.7656, 81.5855)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B551EC #88EC51
analogous
#6851EC #B551EC #EC51D5
triadic
#B551EC #ECB551 #51ECB5
tetradic
#B551EC #EC6851 #88EC51 #51D5EC
square
#B551EC #EC6851 #88EC51 #51D5EC
split-complementary
#B551EC #D5EC51 #51EC68
monochromatic
#7813AF #9E1AE6 #B551EC #CC88F2 #E4BFF8

Accessibility & contrast

On white

3.92
#B551EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B551EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B551EC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B551EC#FFFFFF#000000##000000
##B551EC1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#AE7198
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b551ec;
/* rgb */ color: rgb(181, 81, 236);
/* oklch */ color: oklch(63.0% 0.230 311.2);
Tailwind
colors: {
  custom: {
    50: '#cf88f3',
    500: '#b551ec',
    950: '#000000',
  },
}
SCSS
$custom: #b551ec;
$custom-light: #cf88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b551ec",
  "rgb": {
    "r": 181,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 278.71,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62982,
    "c": 0.23,
    "h": 311.2
  },
  "luminance": 0.21765
}

Semantic roles & 50–950 ramp

primary
#B551EC
secondary
#C4E9B0
accent
#DD0954
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B551EC

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

Preview Lab → · Contrast checker → · Palette generator →

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