#B451E1#B451E1

#B451E1 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.2% C 0.219 H 313.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B451E1
RGBrgb(180, 81, 225)
HSLhsl(281, 71%, 60%)
HSVhsv(281, 64%, 88%)
CMYKcmyk(20%, 64%, 0%, 11.8%)
CIE-LABlab(52.98, 62.27, -56.45)
CIE-LCHlch(52.98, 84.05, 317.81°)
OKLaboklab(62.16% 0.1508 -0.1588)
OKLCHoklch(62.16% 0.219 313.5)
XYZxyz(35.3531, 21.0255, 73.4156)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451E1 #7EE151
analogous
#6C51E1 #B451E1 #E151C6
triadic
#B451E1 #E1B451 #51E1B4
tetradic
#B451E1 #E16C51 #7EE151 #51C6E1
square
#B451E1 #E16C51 #7EE151 #51C6E1
split-complementary
#B451E1 #C6E151 #51E16C
monochromatic
#741B9D #9B24D1 #B451E1 #CA85EA #E1B9F3

Accessibility & contrast

On white

4.03
#B451E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B451E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451E1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451E1#FFFFFF#000000##000000
##B451E11.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0679E5
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#B06D92
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b451e1;
/* rgb */ color: rgb(180, 81, 225);
/* oklch */ color: oklch(62.2% 0.219 313.5);
Tailwind
colors: {
  custom: {
    50: '#ce88eb',
    500: '#b451e1',
    950: '#000000',
  },
}
SCSS
$custom: #b451e1;
$custom-light: #ce88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b451e1",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 281.25,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.62164,
    "c": 0.21898,
    "h": 313.5
  },
  "luminance": 0.21024
}

Semantic roles & 50–950 ramp

primary
#B451E1
secondary
#BDE3AB
accent
#ED3A72
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B451E1

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

Preview Lab → · Contrast checker → · Palette generator →

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