#B24AAA#B24AAA

#B24AAA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.177 H 330.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B24AAA
RGBrgb(178, 74, 170)
HSLhsl(305, 41%, 49%)
HSVhsv(305, 58%, 70%)
CMYKcmyk(0%, 58.4%, 4.5%, 30.2%)
CIE-LABlab(48.59, 54.52, -31.72)
CIE-LCHlch(48.59, 63.08, 329.81°)
OKLaboklab(57.97% 0.1547 -0.0869)
OKLCHoklch(57.97% 0.177 330.7)
XYZxyz(28.0644, 17.2667, 39.8771)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24AAA #4AB252
analogous
#864AB2 #B24AAA #B24A76
triadic
#B24AAA #AAB24A #4AAAB2
tetradic
#B24AAA #B2864A #4AB252 #4A76B2
square
#B24AAA #B2864A #4AB252 #4A76B2
split-complementary
#B24AAA #76B24A #4AB286
monochromatic
#5C2657 #873881 #B24AAA #C574BF #D79FD3

Accessibility & contrast

On white

4.72
#B24AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B24AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24AAA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24AAA#FFFFFF#000000##FFFFFF
##B24AAA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#6579A7
Tritanopia (blue-blind)
#B85473
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b24aaa;
/* rgb */ color: rgb(178, 74, 170);
/* oklch */ color: oklch(58.0% 0.177 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc82c3',
    500: '#b24aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b24aaa;
$custom-light: #cc82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b24aaa",
  "rgb": {
    "r": 178,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 304.615,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57968,
    "c": 0.17749,
    "h": 330.7
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#B24AAA
secondary
#94C498
accent
#D16057
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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