#B451C2#B451C2

#B451C2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.189 H 322.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B451C2
RGBrgb(180, 81, 194)
HSLhsl(293, 48%, 54%)
HSVhsv(293, 58%, 76%)
CMYKcmyk(7.2%, 58.2%, 0%, 23.9%)
CIE-LABlab(51.25, 56.15, -41.51)
CIE-LCHlch(51.25, 69.83, 323.53°)
OKLaboklab(60.35% 0.1504 -0.1152)
OKLCHoklch(60.35% 0.189 322.5)
XYZxyz(31.5014, 19.4848, 53.1301)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451C2 #5FC251
analogous
#7C51C2 #B451C2 #C25198
triadic
#B451C2 #C2B451 #51C2B4
tetradic
#B451C2 #C27C51 #5FC251 #5198C2
square
#B451C2 #C27C51 #5FC251 #5198C2
split-complementary
#B451C2 #98C251 #51C27C
monochromatic
#682871 #92379E #B451C2 #C87ED2 #DBACE2

Accessibility & contrast

On white

4.29
#B451C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B451C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451C2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451C2#FFFFFF#000000##000000
##B451C21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#B66182
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b451c2;
/* rgb */ color: rgb(180, 81, 194);
/* oklch */ color: oklch(60.4% 0.189 322.5);
Tailwind
colors: {
  custom: {
    50: '#cd87d5',
    500: '#b451c2',
    950: '#000000',
  },
}
SCSS
$custom: #b451c2;
$custom-light: #cd87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b451c2",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 292.566,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.18943,
    "h": 322.5
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#B451C2
secondary
#A5D09F
accent
#D85061
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B451C2

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

Preview Lab → · Contrast checker → · Palette generator →

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