#B451D1#B451D1

#B451D1 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.2% C 0.204 H 317.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B451D1
RGBrgb(180, 81, 209)
HSLhsl(286, 58%, 57%)
HSVhsv(286, 61%, 82%)
CMYKcmyk(13.9%, 61.2%, 0%, 18%)
CIE-LABlab(52.05, 59.05, -48.84)
CIE-LCHlch(52.05, 76.63, 320.40°)
OKLaboklab(61.2% 0.151 -0.1365)
OKLCHoklch(61.2% 0.204 317.9)
XYZxyz(33.2718, 20.1929, 62.4543)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451D1 #6ED151
analogous
#7451D1 #B451D1 #D151AE
triadic
#B451D1 #D1B451 #51D1B4
tetradic
#B451D1 #D17451 #6ED151 #51AED1
square
#B451D1 #D17451 #6ED151 #51AED1
split-complementary
#B451D1 #AED151 #51D174
monochromatic
#6E2385 #9730B5 #B451D1 #C981DE #DEB2EB

Accessibility & contrast

On white

4.17
#B451D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B451D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451D1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451D1#FFFFFF#000000##000000
##B451D11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D5
Deuteranopia (green-blind)
#567FCE
Tritanopia (blue-blind)
#B3678A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b451d1;
/* rgb */ color: rgb(180, 81, 209);
/* oklch */ color: oklch(61.2% 0.204 317.9);
Tailwind
colors: {
  custom: {
    50: '#ce88e0',
    500: '#b451d1',
    950: '#000000',
  },
}
SCSS
$custom: #b451d1;
$custom-light: #ce88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b451d1",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 286.406,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.612,
    "c": 0.20356,
    "h": 317.9
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#B451D1
secondary
#B1D9A5
accent
#E1466A
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451D1

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

Preview Lab → · Contrast checker → · Palette generator →

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