#B451E8#B451E8

#B451E8 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.6% C 0.226 H 311.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B451E8
RGBrgb(180, 81, 232)
HSLhsl(279, 77%, 61%)
HSVhsv(279, 65%, 91%)
CMYKcmyk(22.4%, 65.1%, 0%, 9%)
CIE-LABlab(53.40, 63.72, -59.72)
CIE-LCHlch(53.40, 87.32, 316.86°)
OKLaboklab(62.61% 0.1504 -0.1684)
OKLCHoklch(62.61% 0.226 311.8)
XYZxyz(36.3276, 21.4153, 78.5482)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451E8 #85E851
analogous
#6951E8 #B451E8 #E851D1
triadic
#B451E8 #E8B451 #51E8B4
tetradic
#B451E8 #E86951 #85E851 #51D1E8
square
#B451E8 #E86951 #85E851 #51D1E8
split-complementary
#B451E8 #D1E851 #51E869
monochromatic
#7616A8 #9C1DDE #B451E8 #CB87EF #E3BDF6

Accessibility & contrast

On white

3.98
#B451E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B451E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451E8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451E8#FFFFFF#000000##000000
##B451E81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#4282E5
Tritanopia (blue-blind)
#AE6F96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b451e8;
/* rgb */ color: rgb(180, 81, 232);
/* oklch */ color: oklch(62.6% 0.226 311.8);
Tailwind
colors: {
  custom: {
    50: '#ce88f0',
    500: '#b451e8',
    950: '#000000',
  },
}
SCSS
$custom: #b451e8;
$custom-light: #ce88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b451e8",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 279.338,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62605,
    "c": 0.22579,
    "h": 311.8
  },
  "luminance": 0.21414
}

Semantic roles & 50–950 ramp

primary
#B451E8
secondary
#C2E7AE
accent
#D90D53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B451E8

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

Preview Lab → · Contrast checker → · Palette generator →

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