#B450D8#B450D8

#B450D8 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.212 H 316.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B450D8
RGBrgb(180, 80, 216)
HSLhsl(284, 64%, 58%)
HSVhsv(284, 63%, 85%)
CMYKcmyk(16.7%, 63%, 0%, 15.3%)
CIE-LABlab(52.29, 60.89, -52.46)
CIE-LCHlch(52.29, 80.37, 319.26°)
OKLaboklab(61.5% 0.1522 -0.1471)
OKLCHoklch(61.5% 0.212 316)
XYZxyz(34.0838, 20.3997, 67.0946)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B450D8 #74D850
analogous
#7050D8 #B450D8 #D850B8
triadic
#B450D8 #D8B450 #50D8B4
tetradic
#B450D8 #D87050 #74D850 #50B8D8
square
#B450D8 #D87050 #74D850 #50B8D8
split-complementary
#B450D8 #B8D850 #50D870
monochromatic
#71208E #992BC0 #B450D8 #C982E3 #DFB4EE

Accessibility & contrast

On white

4.13
#B450D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B450D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B450D8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B450D8#FFFFFF#000000##000000
##B450D81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DC
Deuteranopia (green-blind)
#5080D5
Tritanopia (blue-blind)
#B2698D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b450d8;
/* rgb */ color: rgb(180, 80, 216);
/* oklch */ color: oklch(61.5% 0.212 316.0);
Tailwind
colors: {
  custom: {
    50: '#ce87e5',
    500: '#b450d8',
    950: '#000000',
  },
}
SCSS
$custom: #b450d8;
$custom-light: #ce87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b450d8",
  "rgb": {
    "r": 180,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 284.118,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.21165,
    "h": 316
  },
  "luminance": 0.20398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B450D8

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

Preview Lab → · Contrast checker → · Palette generator →

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