#B450D2#B450D2

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

Color values

HEX#B450D2
RGBrgb(180, 80, 210)
HSLhsl(286, 59%, 57%)
HSVhsv(286, 62%, 82%)
CMYKcmyk(14.3%, 61.9%, 0%, 17.6%)
CIE-LABlab(51.94, 59.70, -49.58)
CIE-LCHlch(51.94, 77.60, 320.29°)
OKLaboklab(61.14% 0.1522 -0.1387)
OKLCHoklch(61.14% 0.206 317.7)
XYZxyz(33.3223, 20.0951, 63.0837)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B450D2 #6ED250
analogous
#7350D2 #B450D2 #D250AF
triadic
#B450D2 #D2B450 #50D2B4
tetradic
#B450D2 #D27350 #6ED250 #50AFD2
square
#B450D2 #D27350 #6ED250 #50AFD2
split-complementary
#B450D2 #AFD250 #50D273
monochromatic
#6E2285 #972FB6 #B450D2 #C981DF #DEB1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B450D2#FFFFFF#000000##000000
##B450D21.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)
#2975D6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#B3668A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b450d2;
/* rgb */ color: rgb(180, 80, 210);
/* oklch */ color: oklch(61.1% 0.206 317.7);
Tailwind
colors: {
  custom: {
    50: '#ce87e0',
    500: '#b450d2',
    950: '#000000',
  },
}
SCSS
$custom: #b450d2;
$custom-light: #ce87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b450d2",
  "rgb": {
    "r": 180,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 286.154,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.20593,
    "h": 317.7
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#B450D2
secondary
#B1D9A4
accent
#E2466A
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B450D2

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

Preview Lab → · Contrast checker → · Palette generator →

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