#B451CD#B451CD

#B451CD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.0% C 0.200 H 319.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B451CD
RGBrgb(180, 81, 205)
HSLhsl(288, 55%, 56%)
HSVhsv(288, 60%, 80%)
CMYKcmyk(12.2%, 60.5%, 0%, 19.6%)
CIE-LABlab(51.83, 58.26, -46.90)
CIE-LCHlch(51.83, 74.79, 321.16°)
OKLaboklab(60.97% 0.1509 -0.1309)
OKLCHoklch(60.97% 0.2 319.1)
XYZxyz(32.7828, 19.9973, 59.8788)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451CD #6ACD51
analogous
#7651CD #B451CD #CD51A8
triadic
#B451CD #CDB451 #51CDB4
tetradic
#B451CD #CD7651 #6ACD51 #51A8CD
square
#B451CD #CD7651 #6ACD51 #51A8CD
split-complementary
#B451CD #A8CD51 #51CD76
monochromatic
#6D257F #9632AF #B451CD #C881DB #DDB0E8

Accessibility & contrast

On white

4.20
#B451CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B451CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451CD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451CD#FFFFFF#000000##000000
##B451CD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#B46588
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b451cd;
/* rgb */ color: rgb(180, 81, 205);
/* oklch */ color: oklch(61.0% 0.200 319.1);
Tailwind
colors: {
  custom: {
    50: '#cd87dd',
    500: '#b451cd',
    950: '#000000',
  },
}
SCSS
$custom: #b451cd;
$custom-light: #cd87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b451cd",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 287.903,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60969,
    "c": 0.19976,
    "h": 319.1
  },
  "luminance": 0.19996
}

Semantic roles & 50–950 ramp

primary
#B451CD
secondary
#AED7A3
accent
#DF4967
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451CD

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

Preview Lab → · Contrast checker → · Palette generator →

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