#B451C6#B451C6

#B451C6 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.193 H 321.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B451C6
RGBrgb(180, 81, 198)
HSLhsl(291, 51%, 55%)
HSVhsv(291, 59%, 78%)
CMYKcmyk(9.1%, 59.1%, 0%, 22.4%)
CIE-LABlab(51.46, 56.91, -43.48)
CIE-LCHlch(51.46, 71.62, 322.62°)
OKLaboklab(60.57% 0.1506 -0.1209)
OKLCHoklch(60.57% 0.193 321.2)
XYZxyz(31.9567, 19.6669, 55.5279)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451C6 #63C651
analogous
#7A51C6 #B451C6 #C6519E
triadic
#B451C6 #C6B451 #51C6B4
tetradic
#B451C6 #C67A51 #63C651 #519EC6
square
#B451C6 #C67A51 #63C651 #519EC6
split-complementary
#B451C6 #9EC651 #51C67A
monochromatic
#6A2776 #9336A4 #B451C6 #C87FD5 #DCADE4

Accessibility & contrast

On white

4.26
#B451C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B451C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451C6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451C6#FFFFFF#000000##000000
##B451C61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3973CA
Deuteranopia (green-blind)
#5D7EC3
Tritanopia (blue-blind)
#B66384
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b451c6;
/* rgb */ color: rgb(180, 81, 198);
/* oklch */ color: oklch(60.6% 0.193 321.2);
Tailwind
colors: {
  custom: {
    50: '#cd87d8',
    500: '#b451c6',
    950: '#000000',
  },
}
SCSS
$custom: #b451c6;
$custom-light: #cd87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b451c6",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 198
  },
  "hsl": {
    "h": 290.769,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60574,
    "c": 0.19316,
    "h": 321.2
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#B451C6
secondary
#A8D2A1
accent
#DA4E63
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B451C6

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

Preview Lab → · Contrast checker → · Palette generator →

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