#B045D0#B045D0

#B045D0 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.217 H 317.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B045D0
RGBrgb(176, 69, 208)
HSLhsl(286, 60%, 54%)
HSVhsv(286, 67%, 82%)
CMYKcmyk(15.4%, 66.8%, 0%, 18.4%)
CIE-LABlab(49.55, 63.18, -52.30)
CIE-LCHlch(49.55, 82.02, 320.38°)
OKLaboklab(59.26% 0.16 -0.1467)
OKLCHoklch(59.26% 0.217 317.5)
XYZxyz(31.4161, 18.0417, 61.4898)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045D0 #65D045
analogous
#6B45D0 #B045D0 #D045AB
triadic
#B045D0 #D0B045 #45D0B0
tetradic
#B045D0 #D06B45 #65D045 #45ABD0
square
#B045D0 #D06B45 #65D045 #45ABD0
split-complementary
#B045D0 #ABD045 #45D06B
monochromatic
#661F7B #8F2CAC #B045D0 #C576DC #DAA7E9

Accessibility & contrast

On white

4.56
#B045D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B045D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045D0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045D0#FFFFFF#000000##000000
##B045D01.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD4
Deuteranopia (green-blind)
#4979CD
Tritanopia (blue-blind)
#AF5F85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b045d0;
/* rgb */ color: rgb(176, 69, 208);
/* oklch */ color: oklch(59.3% 0.217 317.5);
Tailwind
colors: {
  custom: {
    50: '#cb81df',
    500: '#b045d0',
    950: '#000000',
  },
}
SCSS
$custom: #b045d0;
$custom-light: #cb81df;
$custom-dark: #000000;
JSON
{
  "hex": "#b045d0",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 286.187,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.21705,
    "h": 317.5
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#B045D0
secondary
#A8D69B
accent
#E34569
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B045D0

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

Preview Lab → · Contrast checker → · Palette generator →

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