#B451D6#B451D6

#B451D6 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.208 H 316.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B451D6
RGBrgb(180, 81, 214)
HSLhsl(285, 62%, 58%)
HSVhsv(285, 62%, 84%)
CMYKcmyk(15.9%, 62.1%, 0%, 16.1%)
CIE-LABlab(52.34, 60.04, -51.24)
CIE-LCHlch(52.34, 78.93, 319.52°)
OKLaboklab(61.49% 0.151 -0.1435)
OKLCHoklch(61.49% 0.208 316.5)
XYZxyz(33.9006, 20.4444, 65.7657)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451D6 #73D651
analogous
#7251D6 #B451D6 #D651B5
triadic
#B451D6 #D6B451 #51D6B4
tetradic
#B451D6 #D67251 #73D651 #51B5D6
square
#B451D6 #D67251 #73D651 #51B5D6
split-complementary
#B451D6 #B5D651 #51D672
monochromatic
#70218C #982DBD #B451D6 #C983E2 #DFB4ED

Accessibility & contrast

On white

4.13
#B451D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B451D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451D6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451D6#FFFFFF#000000##000000
##B451D61.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2577DA
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#B2698C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b451d6;
/* rgb */ color: rgb(180, 81, 214);
/* oklch */ color: oklch(61.5% 0.208 316.5);
Tailwind
colors: {
  custom: {
    50: '#ce88e3',
    500: '#b451d6',
    950: '#000000',
  },
}
SCSS
$custom: #b451d6;
$custom-light: #ce88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b451d6",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 284.662,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.20836,
    "h": 316.5
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#B451D6
secondary
#B4DCA7
accent
#E5436C
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B451D6

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

Preview Lab → · Contrast checker → · Palette generator →

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