#B045D1#B045D1

#B045D1 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.218 H 317.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B045D1
RGBrgb(176, 69, 209)
HSLhsl(286, 60%, 55%)
HSVhsv(286, 67%, 82%)
CMYKcmyk(15.8%, 67%, 0%, 18%)
CIE-LABlab(49.61, 63.37, -52.78)
CIE-LCHlch(49.61, 82.47, 320.21°)
OKLaboklab(59.32% 0.1599 -0.1481)
OKLCHoklch(59.32% 0.218 317.2)
XYZxyz(31.5396, 18.0911, 62.1398)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045D1 #66D145
analogous
#6A45D1 #B045D1 #D145AC
triadic
#B045D1 #D1B045 #45D1B0
tetradic
#B045D1 #D16A45 #66D145 #45ACD1
square
#B045D1 #D16A45 #66D145 #45ACD1
split-complementary
#B045D1 #ACD145 #45D16A
monochromatic
#671F7D #8F2BAE #B045D1 #C576DD #DAA7E9

Accessibility & contrast

On white

4.55
#B045D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B045D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045D1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045D1#FFFFFF#000000##000000
##B045D11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#4879CE
Tritanopia (blue-blind)
#AF5F86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b045d1;
/* rgb */ color: rgb(176, 69, 209);
/* oklch */ color: oklch(59.3% 0.218 317.2);
Tailwind
colors: {
  custom: {
    50: '#cb81e0',
    500: '#b045d1',
    950: '#000000',
  },
}
SCSS
$custom: #b045d1;
$custom-light: #cb81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b045d1",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 285.857,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59319,
    "c": 0.21796,
    "h": 317.2
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

primary
#B045D1
secondary
#A9D79B
accent
#E3446A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B045D1

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

Preview Lab → · Contrast checker → · Palette generator →

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