#B024A1#B024A1

#B024A1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.215 H 333.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B024A1
RGBrgb(176, 36, 161)
HSLhsl(306, 66%, 42%)
HSVhsv(306, 80%, 69%)
CMYKcmyk(0%, 79.5%, 8.5%, 31%)
CIE-LABlab(42.86, 66.50, -35.41)
CIE-LCHlch(42.86, 75.34, 331.97°)
OKLaboklab(53.61% 0.1922 -0.0973)
OKLCHoklch(53.61% 0.215 333.2)
XYZxyz(24.9686, 13.0673, 34.9185)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B024A1 #24B033
analogous
#7924B0 #B024A1 #B0245B
triadic
#B024A1 #A1B024 #24A1B0
tetradic
#B024A1 #B07924 #24B033 #245BB0
square
#B024A1 #B07924 #24B033 #245BB0
split-complementary
#B024A1 #5BB024 #24B079
monochromatic
#4A0F44 #7D1A73 #B024A1 #D73AC6 #E16DD5

Accessibility & contrast

On white

5.81
#B024A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B024A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B024A1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B024A1#FFFFFF#000000##FFFFFF
##B024A11.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A4
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#B83562
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b024a1;
/* rgb */ color: rgb(176, 36, 161);
/* oklch */ color: oklch(53.6% 0.215 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc70bd',
    500: '#b024a1',
    950: '#000000',
  },
}
SCSS
$custom: #b024a1;
$custom-light: #cc70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b024a1",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 306.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.21544,
    "h": 333.2
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#B024A1
secondary
#68C872
accent
#E9513F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B024A1

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

Preview Lab → · Contrast checker → · Palette generator →

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