#B451CF#B451CF

#B451CF is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.1% C 0.202 H 318.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B451CF
RGBrgb(180, 81, 207)
HSLhsl(287, 57%, 56%)
HSVhsv(287, 61%, 81%)
CMYKcmyk(13%, 60.9%, 0%, 18.8%)
CIE-LABlab(51.94, 58.65, -47.87)
CIE-LCHlch(51.94, 75.71, 320.78°)
OKLaboklab(61.08% 0.151 -0.1337)
OKLCHoklch(61.08% 0.202 318.5)
XYZxyz(33.0258, 20.0945, 61.1584)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451CF #6CCF51
analogous
#7551CF #B451CF #CF51AB
triadic
#B451CF #CFB451 #51CFB4
tetradic
#B451CF #CF7551 #6CCF51 #51ABCF
square
#B451CF #CF7551 #6CCF51 #51ABCF
split-complementary
#B451CF #ABCF51 #51CF75
monochromatic
#6E2482 #9631B2 #B451CF #C981DC #DDB1E9

Accessibility & contrast

On white

4.18
#B451CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B451CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451CF#FFFFFF#000000##000000
##B451CF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#B46689
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b451cf;
/* rgb */ color: rgb(180, 81, 207);
/* oklch */ color: oklch(61.1% 0.202 318.5);
Tailwind
colors: {
  custom: {
    50: '#cd87de',
    500: '#b451cf',
    950: '#000000',
  },
}
SCSS
$custom: #b451cf;
$custom-light: #cd87de;
$custom-dark: #000000;
JSON
{
  "hex": "#b451cf",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 287.143,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61084,
    "c": 0.20165,
    "h": 318.5
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

primary
#B451CF
secondary
#AFD8A4
accent
#E04868
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B451CF

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

Preview Lab → · Contrast checker → · Palette generator →

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