#B451D7#B451D7

#B451D7 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.6% C 0.209 H 316.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B451D7
RGBrgb(180, 81, 215)
HSLhsl(284, 63%, 58%)
HSVhsv(284, 62%, 84%)
CMYKcmyk(16.3%, 62.3%, 0%, 15.7%)
CIE-LABlab(52.39, 60.24, -51.72)
CIE-LCHlch(52.39, 79.39, 319.35°)
OKLaboklab(61.55% 0.151 -0.1449)
OKLCHoklch(61.55% 0.209 316.2)
XYZxyz(34.0287, 20.4957, 66.4404)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451D7 #74D751
analogous
#7151D7 #B451D7 #D751B7
triadic
#B451D7 #D7B451 #51D7B4
tetradic
#B451D7 #D77151 #74D751 #51B7D7
square
#B451D7 #D77151 #74D751 #51B7D7
split-complementary
#B451D7 #B7D751 #51D771
monochromatic
#71208D #992CBF #B451D7 #C983E2 #DFB5EE

Accessibility & contrast

On white

4.12
#B451D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B451D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451D7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451D7#FFFFFF#000000##000000
##B451D71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2377DB
Deuteranopia (green-blind)
#5280D4
Tritanopia (blue-blind)
#B2698D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b451d7;
/* rgb */ color: rgb(180, 81, 215);
/* oklch */ color: oklch(61.6% 0.209 316.2);
Tailwind
colors: {
  custom: {
    50: '#ce88e4',
    500: '#b451d7',
    950: '#000000',
  },
}
SCSS
$custom: #b451d7;
$custom-light: #ce88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b451d7",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 284.328,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.20931,
    "h": 316.2
  },
  "luminance": 0.20494
}

Semantic roles & 50–950 ramp

primary
#B451D7
secondary
#B5DDA7
accent
#E6426D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B451D7

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

Preview Lab → · Contrast checker → · Palette generator →

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