#B045D5#B045D5

#B045D5 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.222 H 316.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B045D5
RGBrgb(176, 69, 213)
HSLhsl(285, 63%, 55%)
HSVhsv(285, 68%, 84%)
CMYKcmyk(17.4%, 67.6%, 0%, 16.5%)
CIE-LABlab(49.85, 64.16, -54.68)
CIE-LCHlch(49.85, 84.30, 319.56°)
OKLaboklab(59.57% 0.1597 -0.1537)
OKLCHoklch(59.57% 0.222 316.1)
XYZxyz(32.0410, 18.2917, 64.7807)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045D5 #6AD545
analogous
#6845D5 #B045D5 #D545B2
triadic
#B045D5 #D5B045 #45D5B0
tetradic
#B045D5 #D56845 #6AD545 #45B2D5
square
#B045D5 #D56845 #6AD545 #45B2D5
split-complementary
#B045D5 #B2D545 #45D568
monochromatic
#681D82 #9029B4 #B045D5 #C577E0 #DAA9EC

Accessibility & contrast

On white

4.51
#B045D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B045D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045D5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045D5#FFFFFF#000000##000000
##B045D51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#AE6188
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b045d5;
/* rgb */ color: rgb(176, 69, 213);
/* oklch */ color: oklch(59.6% 0.222 316.1);
Tailwind
colors: {
  custom: {
    50: '#cb81e3',
    500: '#b045d5',
    950: '#000000',
  },
}
SCSS
$custom: #b045d5;
$custom-light: #cb81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b045d5",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 284.583,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.22163,
    "h": 316.1
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#B045D5
secondary
#ACD99D
accent
#E6426C
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #B045D5

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

Preview Lab → · Contrast checker → · Palette generator →

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