#B045C5#B045C5

#B045C5 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.6% C 0.207 H 320.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B045C5
RGBrgb(176, 69, 197)
HSLhsl(290, 52%, 52%)
HSVhsv(290, 65%, 77%)
CMYKcmyk(10.7%, 65%, 0%, 22.7%)
CIE-LABlab(48.91, 61.07, -46.99)
CIE-LCHlch(48.91, 77.06, 322.42°)
OKLaboklab(58.59% 0.1602 -0.1312)
OKLCHoklch(58.59% 0.207 320.7)
XYZxyz(30.1095, 17.5191, 54.6080)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045C5 #5AC545
analogous
#7045C5 #B045C5 #C5459A
triadic
#B045C5 #C5B045 #45C5B0
tetradic
#B045C5 #C57045 #5AC545 #459AC5
square
#B045C5 #C57045 #5AC545 #459AC5
split-complementary
#B045C5 #9AC545 #45C570
monochromatic
#61226D #8A319C #B045C5 #C474D4 #D8A2E2

Accessibility & contrast

On white

4.66
#B045C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B045C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B045C5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045C5#FFFFFF#000000##FFFFFF
##B045C51.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206DC9
Deuteranopia (green-blind)
#5278C2
Tritanopia (blue-blind)
#B15B7F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b045c5;
/* rgb */ color: rgb(176, 69, 197);
/* oklch */ color: oklch(58.6% 0.207 320.7);
Tailwind
colors: {
  custom: {
    50: '#cb80d7',
    500: '#b045c5',
    950: '#000000',
  },
}
SCSS
$custom: #b045c5;
$custom-light: #cb80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b045c5",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 290.156,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.20709,
    "h": 320.7
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#B045C5
secondary
#A0CF97
accent
#DC4C64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B045C5

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

Preview Lab → · Contrast checker → · Palette generator →

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