#B045D9#B045D9

#B045D9 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.225 H 315.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B045D9
RGBrgb(176, 69, 217)
HSLhsl(283, 66%, 56%)
HSVhsv(283, 68%, 85%)
CMYKcmyk(18.9%, 68.2%, 0%, 14.9%)
CIE-LABlab(50.09, 64.95, -56.57)
CIE-LCHlch(50.09, 86.13, 318.94°)
OKLaboklab(59.82% 0.1594 -0.1592)
OKLCHoklch(59.82% 0.225 315)
XYZxyz(32.5550, 18.4973, 67.4876)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045D9 #6ED945
analogous
#6645D9 #B045D9 #D945B8
triadic
#B045D9 #D9B045 #45D9B0
tetradic
#B045D9 #D96645 #6ED945 #45B8D9
square
#B045D9 #D96645 #6ED945 #45B8D9
split-complementary
#B045D9 #B8D945 #45D966
monochromatic
#6A1C88 #9226BB #B045D9 #C678E3 #DBABEE

Accessibility & contrast

On white

4.47
#B045D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B045D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045D9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045D9#FFFFFF#000000##000000
##B045D91.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#AD638A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b045d9;
/* rgb */ color: rgb(176, 69, 217);
/* oklch */ color: oklch(59.8% 0.225 315.0);
Tailwind
colors: {
  custom: {
    50: '#cc81e5',
    500: '#b045d9',
    950: '#000000',
  },
}
SCSS
$custom: #b045d9;
$custom-light: #cc81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b045d9",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 283.378,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.22531,
    "h": 315
  },
  "luminance": 0.18496
}

Semantic roles & 50–950 ramp

primary
#B045D9
secondary
#AFDB9E
accent
#E93F6E
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B045D9

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

Preview Lab → · Contrast checker → · Palette generator →

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