#B451CC#B451CC

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

Color values

HEX#B451CC
RGBrgb(180, 81, 204)
HSLhsl(288, 55%, 56%)
HSVhsv(288, 60%, 80%)
CMYKcmyk(11.8%, 60.3%, 0%, 20%)
CIE-LABlab(51.78, 58.07, -46.42)
CIE-LCHlch(51.78, 74.34, 321.36°)
OKLaboklab(60.91% 0.1509 -0.1295)
OKLCHoklch(60.91% 0.199 319.4)
XYZxyz(32.6625, 19.9492, 59.2451)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451CC #69CC51
analogous
#7651CC #B451CC #CC51A6
triadic
#B451CC #CCB451 #51CCB4
tetradic
#B451CC #CC7651 #69CC51 #51A6CC
square
#B451CC #CC7651 #69CC51 #51A6CC
split-complementary
#B451CC #A6CC51 #51CC76
monochromatic
#6C257E #9533AD #B451CC #C880DA #DDB0E8

Accessibility & contrast

On white

4.21
#B451CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B451CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451CC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451CC#FFFFFF#000000##000000
##B451CC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#B46587
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b451cc;
/* rgb */ color: rgb(180, 81, 204);
/* oklch */ color: oklch(60.9% 0.199 319.4);
Tailwind
colors: {
  custom: {
    50: '#cd87dc',
    500: '#b451cc',
    950: '#000000',
  },
}
SCSS
$custom: #b451cc;
$custom-light: #cd87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b451cc",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 288.293,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.19881,
    "h": 319.4
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#B451CC
secondary
#ADD6A3
accent
#DE4A67
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451CC

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

Preview Lab → · Contrast checker → · Palette generator →

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