#B024AF#B024AF

#B024AF is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.225 H 328.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B024AF
RGBrgb(176, 36, 175)
HSLhsl(300, 66%, 42%)
HSVhsv(300, 80%, 69%)
CMYKcmyk(0%, 79.5%, 0.6%, 31%)
CIE-LABlab(43.64, 68.65, -42.52)
CIE-LCHlch(43.64, 80.75, 328.23°)
OKLaboklab(54.41% 0.1921 -0.1179)
OKLCHoklch(54.41% 0.225 328.5)
XYZxyz(26.2730, 13.5890, 41.7883)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B024AF #24B025
analogous
#6B24B0 #B024AF #B02469
triadic
#B024AF #AFB024 #24AFB0
tetradic
#B024AF #B06B24 #24B025 #2469B0
square
#B024AF #B06B24 #24B025 #2469B0
split-complementary
#B024AF #69B024 #24B06B
monochromatic
#4A0F4A #7D1A7C #B024AF #D73AD6 #E16DE0

Accessibility & contrast

On white

5.65
#B024AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B024AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B024AF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B024AF#FFFFFF#000000##FFFFFF
##B024AF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#B63C6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b024af;
/* rgb */ color: rgb(176, 36, 175);
/* oklch */ color: oklch(54.4% 0.225 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc71c7',
    500: '#b024af',
    950: '#000000',
  },
}
SCSS
$custom: #b024af;
$custom-light: #cc71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b024af",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 300.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54414,
    "c": 0.22545,
    "h": 328.5
  },
  "luminance": 0.13587
}

Semantic roles & 50–950 ramp

primary
#B024AF
secondary
#68C869
accent
#E9403F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B024AF

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

Preview Lab → · Contrast checker → · Palette generator →

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