#B24DD5#B24DD5

#B24DD5 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.7% C 0.212 H 316.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B24DD5
RGBrgb(178, 77, 213)
HSLhsl(285, 62%, 57%)
HSVhsv(285, 64%, 84%)
CMYKcmyk(16.4%, 63.8%, 0%, 16.5%)
CIE-LABlab(51.36, 61.17, -52.25)
CIE-LCHlch(51.36, 80.45, 319.50°)
OKLaboklab(60.71% 0.1533 -0.1465)
OKLCHoklch(60.71% 0.212 316.3)
XYZxyz(33.0224, 19.5781, 64.9773)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DD5 #70D54D
analogous
#6E4DD5 #B24DD5 #D54DB4
triadic
#B24DD5 #D5B24D #4DD5B2
tetradic
#B24DD5 #D56E4D #70D54D #4DB4D5
square
#B24DD5 #D56E4D #70D54D #4DB4D5
split-complementary
#B24DD5 #B4D54D #4DD56E
monochromatic
#6D2088 #952CB9 #B24DD5 #C77FE1 #DDB0EC

Accessibility & contrast

On white

4.27
#B24DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B24DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DD5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DD5#FFFFFF#000000##000000
##B24DD51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1974D9
Deuteranopia (green-blind)
#4E7DD2
Tritanopia (blue-blind)
#B0668A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b24dd5;
/* rgb */ color: rgb(178, 77, 213);
/* oklch */ color: oklch(60.7% 0.212 316.3);
Tailwind
colors: {
  custom: {
    50: '#cc85e2',
    500: '#b24dd5',
    950: '#000000',
  },
}
SCSS
$custom: #b24dd5;
$custom-light: #cc85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b24dd5",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 284.559,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.21205,
    "h": 316.3
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#B24DD5
secondary
#B1DBA3
accent
#E5436D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B24DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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