#B451D2#B451D2

#B451D2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.205 H 317.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B451D2
RGBrgb(180, 81, 210)
HSLhsl(286, 59%, 57%)
HSVhsv(286, 61%, 82%)
CMYKcmyk(14.3%, 61.4%, 0%, 17.6%)
CIE-LABlab(52.11, 59.24, -49.32)
CIE-LCHlch(52.11, 77.09, 320.22°)
OKLaboklab(61.26% 0.151 -0.1379)
OKLCHoklch(61.26% 0.205 317.6)
XYZxyz(33.3960, 20.2426, 63.1083)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451D2 #6FD251
analogous
#7451D2 #B451D2 #D251AF
triadic
#B451D2 #D2B451 #51D2B4
tetradic
#B451D2 #D27451 #6FD251 #51AFD2
square
#B451D2 #D27451 #6FD251 #51AFD2
split-complementary
#B451D2 #AFD251 #51D274
monochromatic
#6F2386 #972FB7 #B451D2 #C982DF #DEB2EB

Accessibility & contrast

On white

4.16
#B451D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B451D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451D2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451D2#FFFFFF#000000##000000
##B451D21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#B3678A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b451d2;
/* rgb */ color: rgb(180, 81, 210);
/* oklch */ color: oklch(61.3% 0.205 317.6);
Tailwind
colors: {
  custom: {
    50: '#ce88e0',
    500: '#b451d2',
    950: '#000000',
  },
}
SCSS
$custom: #b451d2;
$custom-light: #ce88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b451d2",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 286.047,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61258,
    "c": 0.20452,
    "h": 317.6
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#B451D2
secondary
#B1DAA5
accent
#E2466A
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451D2

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

Preview Lab → · Contrast checker → · Palette generator →

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