#B045B4#B045B4

#B045B4 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.192 H 326.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B045B4
RGBrgb(176, 69, 180)
HSLhsl(298, 45%, 49%)
HSVhsv(298, 62%, 71%)
CMYKcmyk(2.2%, 61.7%, 0%, 29.4%)
CIE-LABlab(47.99, 57.96, -38.57)
CIE-LCHlch(47.99, 69.62, 326.36°)
OKLaboklab(57.63% 0.1597 -0.1067)
OKLCHoklch(57.63% 0.192 326.3)
XYZxyz(28.2703, 16.7834, 44.9216)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045B4 #49B445
analogous
#7945B4 #B045B4 #B44581
triadic
#B045B4 #B4B045 #45B4B0
tetradic
#B045B4 #B47945 #49B445 #4581B4
square
#B045B4 #B47945 #49B445 #4581B4
split-complementary
#B045B4 #81B445 #45B479
monochromatic
#59235C #853488 #B045B4 #C46FC8 #D69BD9

Accessibility & contrast

On white

4.82
#B045B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B045B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045B4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045B4#FFFFFF#000000##FFFFFF
##B045B41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#B45476
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b045b4;
/* rgb */ color: rgb(176, 69, 180);
/* oklch */ color: oklch(57.6% 0.192 326.3);
Tailwind
colors: {
  custom: {
    50: '#cb80cb',
    500: '#b045b4',
    950: '#000000',
  },
}
SCSS
$custom: #b045b4;
$custom-light: #cb80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b045b4",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 297.838,
    "s": 44.578,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.19208,
    "h": 326.3
  },
  "luminance": 0.16782
}

Semantic roles & 50–950 ramp

primary
#B045B4
secondary
#92C590
accent
#D45458
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B045B4

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

Preview Lab → · Contrast checker → · Palette generator →

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