#B045E1#B045E1

#B045E1 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.233 H 313.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B045E1
RGBrgb(176, 69, 225)
HSLhsl(281, 72%, 58%)
HSVhsv(281, 69%, 88%)
CMYKcmyk(21.8%, 69.3%, 0%, 11.8%)
CIE-LABlab(50.60, 66.55, -60.30)
CIE-LCHlch(50.60, 89.81, 317.82°)
OKLaboklab(60.35% 0.1587 -0.1701)
OKLCHoklch(60.35% 0.233 313)
XYZxyz(33.6208, 18.9236, 73.1011)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045E1 #76E145
analogous
#6245E1 #B045E1 #E145C4
triadic
#B045E1 #E1B045 #45E1B0
tetradic
#B045E1 #E16245 #76E145 #45C4E1
square
#B045E1 #E16245 #76E145 #45C4E1
split-complementary
#B045E1 #C4E145 #45E162
monochromatic
#6D1894 #9420C8 #B045E1 #C67AE9 #DDAEF2

Accessibility & contrast

On white

4.39
#B045E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B045E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045E1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045E1#FFFFFF#000000##000000
##B045E11.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#387BDE
Tritanopia (blue-blind)
#AB668E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b045e1;
/* rgb */ color: rgb(176, 69, 225);
/* oklch */ color: oklch(60.3% 0.233 313.0);
Tailwind
colors: {
  custom: {
    50: '#cc81eb',
    500: '#b045e1',
    950: '#000000',
  },
}
SCSS
$custom: #b045e1;
$custom-light: #cc81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b045e1",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 281.154,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.23269,
    "h": 313
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#B045E1
secondary
#B5E0A2
accent
#EF3972
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B045E1

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

Preview Lab → · Contrast checker → · Palette generator →

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