#B024B0#B024B0

#B024B0 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.226 H 328.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B024B0
RGBrgb(176, 36, 176)
HSLhsl(300, 66%, 42%)
HSVhsv(300, 80%, 69%)
CMYKcmyk(0%, 79.5%, 0%, 31%)
CIE-LABlab(43.70, 68.81, -43.02)
CIE-LCHlch(43.70, 81.15, 327.99°)
OKLaboklab(54.47% 0.1921 -0.1194)
OKLCHoklch(54.47% 0.226 328.1)
XYZxyz(26.3715, 13.6284, 42.3075)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B024B0 #24B024
analogous
#6A24B0 #B024B0 #B0246A
triadic
#B024B0 #B0B024 #24B0B0
tetradic
#B024B0 #B06A24 #24B024 #246AB0
square
#B024B0 #B06A24 #24B024 #246AB0
split-complementary
#B024B0 #6AB024 #24B06A
monochromatic
#4A0F4A #7D1A7D #B024B0 #D73AD7 #E16DE1

Accessibility & contrast

On white

5.64
#B024B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B024B0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B024B0#FFFFFF#000000##FFFFFF
##B024B01.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b024b0;
/* rgb */ color: rgb(176, 36, 176);
/* oklch */ color: oklch(54.5% 0.226 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc71c8',
    500: '#b024b0',
    950: '#000000',
  },
}
SCSS
$custom: #b024b0;
$custom-light: #cc71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b024b0",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.22618,
    "h": 328.1
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#B024B0
secondary
#68C868
accent
#E93F3F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B024B0

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

Preview Lab → · Contrast checker → · Palette generator →

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