#B045B3#B045B3

#B045B3 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.191 H 326.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B045B3
RGBrgb(176, 69, 179)
HSLhsl(298, 44%, 49%)
HSVhsv(298, 61%, 70%)
CMYKcmyk(1.7%, 61.5%, 0%, 29.8%)
CIE-LABlab(47.93, 57.78, -38.06)
CIE-LCHlch(47.93, 69.19, 326.62°)
OKLaboklab(57.57% 0.1597 -0.1052)
OKLCHoklch(57.57% 0.191 326.6)
XYZxyz(28.1688, 16.7428, 44.3871)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045B3 #48B345
analogous
#7945B3 #B045B3 #B3457F
triadic
#B045B3 #B3B045 #45B3B0
tetradic
#B045B3 #B37945 #48B345 #457FB3
square
#B045B3 #B37945 #48B345 #457FB3
split-complementary
#B045B3 #7FB345 #45B379
monochromatic
#59235B #853487 #B045B3 #C56EC7 #D69AD8

Accessibility & contrast

On white

4.83
#B045B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B045B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045B3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045B3#FFFFFF#000000##FFFFFF
##B045B31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#5C77B0
Tritanopia (blue-blind)
#B55476
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b045b3;
/* rgb */ color: rgb(176, 69, 179);
/* oklch */ color: oklch(57.6% 0.191 326.6);
Tailwind
colors: {
  custom: {
    50: '#cb80ca',
    500: '#b045b3',
    950: '#000000',
  },
}
SCSS
$custom: #b045b3;
$custom-light: #cb80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b045b3",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 298.364,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.19122,
    "h": 326.6
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#B045B3
secondary
#91C48F
accent
#D45457
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B045B3

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

Preview Lab → · Contrast checker → · Palette generator →

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