#B451D4#B451D4

#B451D4 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.206 H 317.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B451D4
RGBrgb(180, 81, 212)
HSLhsl(285, 60%, 57%)
HSVhsv(285, 62%, 83%)
CMYKcmyk(15.1%, 61.8%, 0%, 16.9%)
CIE-LABlab(52.22, 59.64, -50.28)
CIE-LCHlch(52.22, 78.01, 319.87°)
OKLaboklab(61.38% 0.151 -0.1407)
OKLCHoklch(61.38% 0.206 317)
XYZxyz(33.6467, 20.3429, 64.4288)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451D4 #71D451
analogous
#7351D4 #B451D4 #D451B2
triadic
#B451D4 #D4B451 #51D4B4
tetradic
#B451D4 #D47351 #71D451 #51B2D4
square
#B451D4 #D47351 #71D451 #51B2D4
split-complementary
#B451D4 #B2D451 #51D473
monochromatic
#702289 #982EBA #B451D4 #C982E0 #DEB3EC

Accessibility & contrast

On white

4.14
#B451D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B451D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451D4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451D4#FFFFFF#000000##000000
##B451D41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2876D8
Deuteranopia (green-blind)
#5480D1
Tritanopia (blue-blind)
#B3688B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b451d4;
/* rgb */ color: rgb(180, 81, 212);
/* oklch */ color: oklch(61.4% 0.206 317.0);
Tailwind
colors: {
  custom: {
    50: '#ce88e2',
    500: '#b451d4',
    950: '#000000',
  },
}
SCSS
$custom: #b451d4;
$custom-light: #ce88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b451d4",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 285.344,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61376,
    "c": 0.20644,
    "h": 317
  },
  "luminance": 0.20342
}

Semantic roles & 50–950 ramp

primary
#B451D4
secondary
#B3DBA6
accent
#E4446B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451D4

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

Preview Lab → · Contrast checker → · Palette generator →

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