#B024B1#B024B1

#B024B1 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.227 H 327.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B024B1
RGBrgb(176, 36, 177)
HSLhsl(300, 66%, 42%)
HSVhsv(300, 80%, 69%)
CMYKcmyk(0.6%, 79.7%, 0%, 30.6%)
CIE-LABlab(43.75, 68.97, -43.52)
CIE-LCHlch(43.75, 81.55, 327.75°)
OKLaboklab(54.53% 0.1921 -0.1208)
OKLCHoklch(54.53% 0.227 327.8)
XYZxyz(26.4708, 13.6682, 42.8305)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B024B1 #25B124
analogous
#6924B1 #B024B1 #B1246C
triadic
#B024B1 #B1B024 #24B1B0
tetradic
#B024B1 #B16924 #25B124 #246CB1
square
#B024B1 #B16924 #25B124 #246CB1
split-complementary
#B024B1 #6CB124 #24B169
monochromatic
#4B0F4B #7D1A7E #B024B1 #D63BD7 #E16EE1

Accessibility & contrast

On white

5.63
#B024B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B024B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B024B1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B024B1#FFFFFF#000000##FFFFFF
##B024B11.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4D6DAE
Tritanopia (blue-blind)
#B63D6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b024b1;
/* rgb */ color: rgb(176, 36, 177);
/* oklch */ color: oklch(54.5% 0.227 327.8);
Tailwind
colors: {
  custom: {
    50: '#cc71c9',
    500: '#b024b1',
    950: '#000000',
  },
}
SCSS
$custom: #b024b1;
$custom-light: #cc71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b024b1",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 299.574,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54533,
    "c": 0.22692,
    "h": 327.8
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#B024B1
secondary
#6AC869
accent
#E93F40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B024B1

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

Preview Lab → · Contrast checker → · Palette generator →

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