#B451CA#B451CA

#B451CA is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.197 H 320.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B451CA
RGBrgb(180, 81, 202)
HSLhsl(289, 53%, 55%)
HSVhsv(289, 60%, 79%)
CMYKcmyk(10.9%, 59.9%, 0%, 20.8%)
CIE-LABlab(51.67, 57.68, -45.44)
CIE-LCHlch(51.67, 73.43, 321.77°)
OKLaboklab(60.8% 0.1508 -0.1266)
OKLCHoklch(60.8% 0.197 320)
XYZxyz(32.4242, 19.8539, 57.9899)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451CA #67CA51
analogous
#7751CA #B451CA #CA51A3
triadic
#B451CA #CAB451 #51CAB4
tetradic
#B451CA #CA7751 #67CA51 #51A3CA
square
#B451CA #CA7751 #67CA51 #51A3CA
split-complementary
#B451CA #A3CA51 #51CA77
monochromatic
#6C257B #9534AA #B451CA #C880D8 #DCAFE7

Accessibility & contrast

On white

4.23
#B451CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B451CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451CA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451CA#FFFFFF#000000##000000
##B451CA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CE
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#B56486
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b451ca;
/* rgb */ color: rgb(180, 81, 202);
/* oklch */ color: oklch(60.8% 0.197 320.0);
Tailwind
colors: {
  custom: {
    50: '#cd87db',
    500: '#b451ca',
    950: '#000000',
  },
}
SCSS
$custom: #b451ca;
$custom-light: #cd87db;
$custom-dark: #000000;
JSON
{
  "hex": "#b451ca",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 289.091,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60798,
    "c": 0.19692,
    "h": 320
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#B451CA
secondary
#ABD5A2
accent
#DD4B66
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B451CA

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

Preview Lab → · Contrast checker → · Palette generator →

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