#B451C7#B451C7

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

Color values

HEX#B451C7
RGBrgb(180, 81, 199)
HSLhsl(290, 51%, 55%)
HSVhsv(290, 59%, 78%)
CMYKcmyk(9.5%, 59.3%, 0%, 22%)
CIE-LABlab(51.51, 57.10, -43.97)
CIE-LCHlch(51.51, 72.07, 322.40°)
OKLaboklab(60.63% 0.1507 -0.1224)
OKLCHoklch(60.63% 0.194 320.9)
XYZxyz(32.0724, 19.7132, 56.1374)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451C7 #64C751
analogous
#7951C7 #B451C7 #C7519F
triadic
#B451C7 #C7B451 #51C7B4
tetradic
#B451C7 #C77951 #64C751 #519FC7
square
#B451C7 #C77951 #64C751 #519FC7
split-complementary
#B451C7 #9FC751 #51C779
monochromatic
#6A2677 #9335A6 #B451C7 #C87FD6 #DCAEE5

Accessibility & contrast

On white

4.25
#B451C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B451C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451C7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451C7#FFFFFF#000000##000000
##B451C71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CB
Deuteranopia (green-blind)
#5D7EC4
Tritanopia (blue-blind)
#B56384
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b451c7;
/* rgb */ color: rgb(180, 81, 199);
/* oklch */ color: oklch(60.6% 0.194 320.9);
Tailwind
colors: {
  custom: {
    50: '#cd87d8',
    500: '#b451c7',
    950: '#000000',
  },
}
SCSS
$custom: #b451c7;
$custom-light: #cd87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b451c7",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 290.339,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.1941,
    "h": 320.9
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#B451C7
secondary
#A9D3A1
accent
#DB4D64
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B451C7

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

Preview Lab → · Contrast checker → · Palette generator →

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