#B451CB#B451CB

#B451CB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.9% C 0.198 H 319.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B451CB
RGBrgb(180, 81, 203)
HSLhsl(289, 54%, 56%)
HSVhsv(289, 60%, 80%)
CMYKcmyk(11.3%, 60.1%, 0%, 20.4%)
CIE-LABlab(51.73, 57.87, -45.93)
CIE-LCHlch(51.73, 73.88, 321.56°)
OKLaboklab(60.85% 0.1508 -0.128)
OKLCHoklch(60.85% 0.198 319.7)
XYZxyz(32.5430, 19.9014, 58.6155)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451CB #68CB51
analogous
#7751CB #B451CB #CB51A5
triadic
#B451CB #CBB451 #51CBB4
tetradic
#B451CB #CB7751 #68CB51 #51A5CB
square
#B451CB #CB7751 #68CB51 #51A5CB
split-complementary
#B451CB #A5CB51 #51CB77
monochromatic
#6C257C #9533AC #B451CB #C880D9 #DDAFE7

Accessibility & contrast

On white

4.22
#B451CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B451CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451CB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451CB#FFFFFF#000000##000000
##B451CB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#B56587
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b451cb;
/* rgb */ color: rgb(180, 81, 203);
/* oklch */ color: oklch(60.9% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#cd87db',
    500: '#b451cb',
    950: '#000000',
  },
}
SCSS
$custom: #b451cb;
$custom-light: #cd87db;
$custom-dark: #000000;
JSON
{
  "hex": "#b451cb",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 288.689,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.19786,
    "h": 319.7
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#B451CB
secondary
#ACD5A3
accent
#DD4A66
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451CB

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

Preview Lab → · Contrast checker → · Palette generator →

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