#B451EC#B451EC

#B451EC is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.9% C 0.230 H 310.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B451EC
RGBrgb(180, 81, 236)
HSLhsl(278, 80%, 62%)
HSVhsv(278, 66%, 93%)
CMYKcmyk(23.7%, 65.7%, 0%, 7.5%)
CIE-LABlab(53.65, 64.55, -61.56)
CIE-LCHlch(53.65, 89.20, 316.36°)
OKLaboklab(62.86% 0.1502 -0.1738)
OKLCHoklch(62.86% 0.23 310.8)
XYZxyz(36.9023, 21.6451, 81.5746)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451EC #89EC51
analogous
#6751EC #B451EC #EC51D6
triadic
#B451EC #ECB451 #51ECB4
tetradic
#B451EC #EC6751 #89EC51 #51D6EC
square
#B451EC #EC6751 #89EC51 #51D6EC
split-complementary
#B451EC #D6EC51 #51EC67
monochromatic
#7713AF #9C1AE6 #B451EC #CC88F2 #E4BFF8

Accessibility & contrast

On white

3.94
#B451EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B451EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451EC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451EC#FFFFFF#000000##000000
##B451EC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b451ec;
/* rgb */ color: rgb(180, 81, 236);
/* oklch */ color: oklch(62.9% 0.230 310.8);
Tailwind
colors: {
  custom: {
    50: '#cf88f3',
    500: '#b451ec',
    950: '#000000',
  },
}
SCSS
$custom: #b451ec;
$custom-light: #cf88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b451ec",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 278.323,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.22968,
    "h": 310.8
  },
  "luminance": 0.21644
}

Semantic roles & 50–950 ramp

primary
#B451EC
secondary
#C5E9B0
accent
#DD0955
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B451EC

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

Preview Lab → · Contrast checker → · Palette generator →

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