#B045D6#B045D6

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

Color values

HEX#B045D6
RGBrgb(176, 69, 214)
HSLhsl(284, 64%, 55%)
HSVhsv(284, 68%, 84%)
CMYKcmyk(17.8%, 67.8%, 0%, 16.1%)
CIE-LABlab(49.91, 64.35, -55.15)
CIE-LCHlch(49.91, 84.76, 319.40°)
OKLaboklab(59.63% 0.1596 -0.155)
OKLCHoklch(59.63% 0.223 315.8)
XYZxyz(32.1683, 18.3426, 65.4513)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045D6 #6BD645
analogous
#6745D6 #B045D6 #D645B3
triadic
#B045D6 #D6B045 #45D6B0
tetradic
#B045D6 #D66745 #6BD645 #45B3D6
square
#B045D6 #D66745 #6BD645 #45B3D6
split-complementary
#B045D6 #B3D645 #45D667
monochromatic
#691D84 #9128B6 #B045D6 #C577E1 #DBA9EC

Accessibility & contrast

On white

4.50
#B045D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B045D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045D6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045D6#FFFFFF#000000##000000
##B045D61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#AD6188
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b045d6;
/* rgb */ color: rgb(176, 69, 214);
/* oklch */ color: oklch(59.6% 0.223 315.8);
Tailwind
colors: {
  custom: {
    50: '#cb81e3',
    500: '#b045d6',
    950: '#000000',
  },
}
SCSS
$custom: #b045d6;
$custom-light: #cb81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b045d6",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 284.276,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59633,
    "c": 0.22255,
    "h": 315.8
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#B045D6
secondary
#ADDA9D
accent
#E7416C
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #B045D6

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

Preview Lab → · Contrast checker → · Palette generator →

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