#B451DC#B451DC

#B451DC is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.214 H 314.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B451DC
RGBrgb(180, 81, 220)
HSLhsl(283, 67%, 59%)
HSVhsv(283, 63%, 86%)
CMYKcmyk(18.2%, 63.2%, 0%, 13.7%)
CIE-LABlab(52.68, 61.25, -54.09)
CIE-LCHlch(52.68, 81.72, 318.55°)
OKLaboklab(61.86% 0.1509 -0.1519)
OKLCHoklch(61.86% 0.214 314.8)
XYZxyz(34.6810, 20.7566, 69.8758)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451DC #79DC51
analogous
#6F51DC #B451DC #DC51BF
triadic
#B451DC #DCB451 #51DCB4
tetradic
#B451DC #DC6F51 #79DC51 #51BFDC
square
#B451DC #DC6F51 #79DC51 #51BFDC
split-complementary
#B451DC #BFDC51 #51DC6F
monochromatic
#731E95 #9A28C8 #B451DC #CA84E6 #E0B7F0

Accessibility & contrast

On white

4.08
#B451DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B451DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451DC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451DC#FFFFFF#000000##000000
##B451DC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1978E0
Deuteranopia (green-blind)
#4E80D9
Tritanopia (blue-blind)
#B16B8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b451dc;
/* rgb */ color: rgb(180, 81, 220);
/* oklch */ color: oklch(61.9% 0.214 314.8);
Tailwind
colors: {
  custom: {
    50: '#ce88e7',
    500: '#b451dc',
    950: '#000000',
  },
}
SCSS
$custom: #b451dc;
$custom-light: #ce88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b451dc",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 282.734,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.21413,
    "h": 314.8
  },
  "luminance": 0.20755
}

Semantic roles & 50–950 ramp

primary
#B451DC
secondary
#B9E0A9
accent
#E93E70
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B451DC

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

Preview Lab → · Contrast checker → · Palette generator →

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