#B451C8#B451C8

#B451C8 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.195 H 320.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B451C8
RGBrgb(180, 81, 200)
HSLhsl(290, 52%, 55%)
HSVhsv(290, 60%, 78%)
CMYKcmyk(10%, 59.5%, 0%, 21.6%)
CIE-LABlab(51.56, 57.29, -44.46)
CIE-LCHlch(51.56, 72.52, 322.19°)
OKLaboklab(60.69% 0.1507 -0.1238)
OKLCHoklch(60.69% 0.195 320.6)
XYZxyz(32.1889, 19.7598, 56.7509)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451C8 #65C851
analogous
#7851C8 #B451C8 #C851A0
triadic
#B451C8 #C8B451 #51C8B4
tetradic
#B451C8 #C87851 #65C851 #51A0C8
square
#B451C8 #C87851 #65C851 #51A0C8
split-complementary
#B451C8 #A0C851 #51C878
monochromatic
#6B2679 #9435A7 #B451C8 #C880D7 #DCAEE5

Accessibility & contrast

On white

4.24
#B451C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B451C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451C8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451C8#FFFFFF#000000##000000
##B451C81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3774CC
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#B56385
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b451c8;
/* rgb */ color: rgb(180, 81, 200);
/* oklch */ color: oklch(60.7% 0.195 320.6);
Tailwind
colors: {
  custom: {
    50: '#cd87d9',
    500: '#b451c8',
    950: '#000000',
  },
}
SCSS
$custom: #b451c8;
$custom-light: #cd87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b451c8",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 289.916,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60685,
    "c": 0.19503,
    "h": 320.6
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#B451C8
secondary
#AAD3A1
accent
#DB4C64
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B451C8

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

Preview Lab → · Contrast checker → · Palette generator →

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