#B045C3#B045C3

#B045C3 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.205 H 321.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B045C3
RGBrgb(176, 69, 195)
HSLhsl(291, 51%, 52%)
HSVhsv(291, 65%, 76%)
CMYKcmyk(9.7%, 64.6%, 0%, 23.5%)
CIE-LABlab(48.79, 60.70, -46.02)
CIE-LCHlch(48.79, 76.17, 322.83°)
OKLaboklab(58.47% 0.1602 -0.1283)
OKLCHoklch(58.47% 0.205 321.3)
XYZxyz(29.8818, 17.4280, 53.4091)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045C3 #58C345
analogous
#7145C3 #B045C3 #C34597
triadic
#B045C3 #C3B045 #45C3B0
tetradic
#B045C3 #C37145 #58C345 #4597C3
square
#B045C3 #C37145 #58C345 #4597C3
split-complementary
#B045C3 #97C345 #45C371
monochromatic
#60236B #8A3199 #B045C3 #C473D2 #D7A2E1

Accessibility & contrast

On white

4.68
#B045C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B045C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045C3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045C3#FFFFFF#000000##FFFFFF
##B045C31.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC7
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#B25A7E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b045c3;
/* rgb */ color: rgb(176, 69, 195);
/* oklch */ color: oklch(58.5% 0.205 321.3);
Tailwind
colors: {
  custom: {
    50: '#cb80d6',
    500: '#b045c3',
    950: '#000000',
  },
}
SCSS
$custom: #b045c3;
$custom-light: #cb80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b045c3",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 290.952,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58473,
    "c": 0.20529,
    "h": 321.3
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#B045C3
secondary
#9FCE96
accent
#DB4D62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B045C3

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

Preview Lab → · Contrast checker → · Palette generator →

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