#B451E2#B451E2

#B451E2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.2% C 0.220 H 313.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B451E2
RGBrgb(180, 81, 226)
HSLhsl(281, 71%, 60%)
HSVhsv(281, 64%, 89%)
CMYKcmyk(20.4%, 64.2%, 0%, 11.4%)
CIE-LABlab(53.04, 62.47, -56.92)
CIE-LCHlch(53.04, 84.51, 317.66°)
OKLaboklab(62.23% 0.1508 -0.1602)
OKLCHoklch(62.23% 0.22 313.3)
XYZxyz(35.4899, 21.0802, 74.1361)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451E2 #7FE251
analogous
#6C51E2 #B451E2 #E251C7
triadic
#B451E2 #E2B451 #51E2B4
tetradic
#B451E2 #E26C51 #7FE251 #51C7E2
square
#B451E2 #E26C51 #7FE251 #51C7E2
split-complementary
#B451E2 #C7E251 #51E26C
monochromatic
#741A9E #9B23D3 #B451E2 #CB85EB #E1BAF3

Accessibility & contrast

On white

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

On black

5.22
#B451E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451E2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451E2#FFFFFF#000000##000000
##B451E21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0179E6
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#AF6D93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b451e2;
/* rgb */ color: rgb(180, 81, 226);
/* oklch */ color: oklch(62.2% 0.220 313.3);
Tailwind
colors: {
  custom: {
    50: '#ce88ec',
    500: '#b451e2',
    950: '#000000',
  },
}
SCSS
$custom: #b451e2;
$custom-light: #ce88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b451e2",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 280.966,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62226,
    "c": 0.21995,
    "h": 313.3
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#B451E2
secondary
#BDE3AC
accent
#D3124F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B451E2

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

Preview Lab → · Contrast checker → · Palette generator →

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