#B451D5#B451D5

#B451D5 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.4% C 0.207 H 316.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B451D5
RGBrgb(180, 81, 213)
HSLhsl(285, 61%, 58%)
HSVhsv(285, 62%, 84%)
CMYKcmyk(15.5%, 62%, 0%, 16.5%)
CIE-LABlab(52.28, 59.84, -50.76)
CIE-LCHlch(52.28, 78.47, 319.69°)
OKLaboklab(61.43% 0.151 -0.1421)
OKLCHoklch(61.43% 0.207 316.7)
XYZxyz(33.7733, 20.3935, 65.0952)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451D5 #72D551
analogous
#7251D5 #B451D5 #D551B4
triadic
#B451D5 #D5B451 #51D5B4
tetradic
#B451D5 #D57251 #72D551 #51B4D5
square
#B451D5 #D57251 #72D551 #51B4D5
split-complementary
#B451D5 #B4D551 #51D572
monochromatic
#70218A #982DBC #B451D5 #C982E1 #DEB4ED

Accessibility & contrast

On white

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

On black

5.08
#B451D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451D5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451D5#FFFFFF#000000##000000
##B451D51.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677D9
Deuteranopia (green-blind)
#5380D2
Tritanopia (blue-blind)
#B2688C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b451d5;
/* rgb */ color: rgb(180, 81, 213);
/* oklch */ color: oklch(61.4% 0.207 316.7);
Tailwind
colors: {
  custom: {
    50: '#ce88e2',
    500: '#b451d5',
    950: '#000000',
  },
}
SCSS
$custom: #b451d5;
$custom-light: #ce88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b451d5",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 285,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61435,
    "c": 0.2074,
    "h": 316.7
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#B451D5
secondary
#B4DBA6
accent
#E4446C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451D5

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

Preview Lab → · Contrast checker → · Palette generator →

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