#B024A5#B024A5

#B024A5 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.218 H 331.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B024A5
RGBrgb(176, 36, 165)
HSLhsl(305, 66%, 42%)
HSVhsv(305, 80%, 69%)
CMYKcmyk(0%, 79.5%, 6.2%, 31%)
CIE-LABlab(43.08, 67.10, -37.46)
CIE-LCHlch(43.08, 76.85, 330.83°)
OKLaboklab(53.84% 0.1923 -0.1032)
OKLCHoklch(53.84% 0.218 331.8)
XYZxyz(25.3270, 13.2106, 36.8060)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B024A5 #24B02F
analogous
#7524B0 #B024A5 #B0245F
triadic
#B024A5 #A5B024 #24A5B0
tetradic
#B024A5 #B07524 #24B02F #245FB0
square
#B024A5 #B07524 #24B02F #245FB0
split-complementary
#B024A5 #5FB024 #24B075
monochromatic
#4A0F46 #7D1A75 #B024A5 #D73ACB #E16DD8

Accessibility & contrast

On white

5.77
#B024A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B024A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B024A5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B024A5#FFFFFF#000000##FFFFFF
##B024A51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#546CA2
Tritanopia (blue-blind)
#B83764
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b024a5;
/* rgb */ color: rgb(176, 36, 165);
/* oklch */ color: oklch(53.8% 0.218 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc71c0',
    500: '#b024a5',
    950: '#000000',
  },
}
SCSS
$custom: #b024a5;
$custom-light: #cc71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b024a5",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 304.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.21826,
    "h": 331.8
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#B024A5
secondary
#68C870
accent
#E94C3F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B024A5

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

Preview Lab → · Contrast checker → · Palette generator →

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