#B045D4#B045D4

#B045D4 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.221 H 316.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B045D4
RGBrgb(176, 69, 212)
HSLhsl(285, 62%, 55%)
HSVhsv(285, 67%, 83%)
CMYKcmyk(17%, 67.5%, 0%, 16.9%)
CIE-LABlab(49.79, 63.96, -54.21)
CIE-LCHlch(49.79, 83.84, 319.72°)
OKLaboklab(59.51% 0.1598 -0.1523)
OKLCHoklch(59.51% 0.221 316.4)
XYZxyz(31.9145, 18.2411, 64.1143)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045D4 #69D445
analogous
#6845D4 #B045D4 #D445B0
triadic
#B045D4 #D4B045 #45D4B0
tetradic
#B045D4 #D46845 #69D445 #45B0D4
square
#B045D4 #D46845 #69D445 #45B0D4
split-complementary
#B045D4 #B0D445 #45D468
monochromatic
#681E81 #9029B3 #B045D4 #C577DF #DAA8EB

Accessibility & contrast

On white

4.52
#B045D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B045D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045D4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045D4#FFFFFF#000000##000000
##B045D41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#4679D1
Tritanopia (blue-blind)
#AE6187
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b045d4;
/* rgb */ color: rgb(176, 69, 212);
/* oklch */ color: oklch(59.5% 0.221 316.4);
Tailwind
colors: {
  custom: {
    50: '#cb81e2',
    500: '#b045d4',
    950: '#000000',
  },
}
SCSS
$custom: #b045d4;
$custom-light: #cb81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b045d4",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 284.895,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.22071,
    "h": 316.4
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#B045D4
secondary
#ACD89C
accent
#E6426B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B045D4

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

Preview Lab → · Contrast checker → · Palette generator →

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