#B451DB#B451DB

#B451DB is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.213 H 315.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B451DB
RGBrgb(180, 81, 219)
HSLhsl(283, 66%, 59%)
HSVhsv(283, 63%, 86%)
CMYKcmyk(17.8%, 63%, 0%, 14.1%)
CIE-LABlab(52.62, 61.04, -53.62)
CIE-LCHlch(52.62, 81.25, 318.70°)
OKLaboklab(61.8% 0.151 -0.1505)
OKLCHoklch(61.8% 0.213 315.1)
XYZxyz(34.5490, 20.7038, 69.1804)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451DB #78DB51
analogous
#6F51DB #B451DB #DB51BD
triadic
#B451DB #DBB451 #51DBB4
tetradic
#B451DB #DB6F51 #78DB51 #51BDDB
square
#B451DB #DB6F51 #78DB51 #51BDDB
split-complementary
#B451DB #BDDB51 #51DB6F
monochromatic
#721E93 #9A29C6 #B451DB #CA84E5 #E0B6F0

Accessibility & contrast

On white

4.09
#B451DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B451DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451DB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451DB#FFFFFF#000000##000000
##B451DB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#B16A8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b451db;
/* rgb */ color: rgb(180, 81, 219);
/* oklch */ color: oklch(61.8% 0.213 315.1);
Tailwind
colors: {
  custom: {
    50: '#ce88e7',
    500: '#b451db',
    950: '#000000',
  },
}
SCSS
$custom: #b451db;
$custom-light: #ce88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b451db",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 283.043,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.21317,
    "h": 315.1
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#B451DB
secondary
#B8DFA9
accent
#E93F6F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B451DB

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

Preview Lab → · Contrast checker → · Palette generator →

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