#B451D3#B451D3

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

Color values

HEX#B451D3
RGBrgb(180, 81, 211)
HSLhsl(286, 60%, 57%)
HSVhsv(286, 62%, 83%)
CMYKcmyk(14.7%, 61.6%, 0%, 17.3%)
CIE-LABlab(52.17, 59.44, -49.80)
CIE-LCHlch(52.17, 77.55, 320.04°)
OKLaboklab(61.32% 0.151 -0.1393)
OKLCHoklch(61.32% 0.205 317.3)
XYZxyz(33.5210, 20.2926, 63.7665)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451D3 #70D351
analogous
#7351D3 #B451D3 #D351B1
triadic
#B451D3 #D3B451 #51D3B4
tetradic
#B451D3 #D37351 #70D351 #51B1D3
square
#B451D3 #D37351 #70D351 #51B1D3
split-complementary
#B451D3 #B1D351 #51D373
monochromatic
#6F2287 #972FB8 #B451D3 #C982DF #DEB3EC

Accessibility & contrast

On white

4.15
#B451D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B451D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451D3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451D3#FFFFFF#000000##000000
##B451D31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D7
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#B3678B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b451d3;
/* rgb */ color: rgb(180, 81, 211);
/* oklch */ color: oklch(61.3% 0.205 317.3);
Tailwind
colors: {
  custom: {
    50: '#ce88e1',
    500: '#b451d3',
    950: '#000000',
  },
}
SCSS
$custom: #b451d3;
$custom-light: #ce88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b451d3",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 285.692,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61317,
    "c": 0.20547,
    "h": 317.3
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

primary
#B451D3
secondary
#B2DAA6
accent
#E3456B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451D3

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

Preview Lab → · Contrast checker → · Palette generator →

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