#B24DE1#B24DE1

#B24DE1 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.223 H 313.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B24DE1
RGBrgb(178, 77, 225)
HSLhsl(281, 71%, 59%)
HSVhsv(281, 66%, 88%)
CMYKcmyk(20.9%, 65.8%, 0%, 11.8%)
CIE-LABlab(52.07, 63.60, -57.91)
CIE-LCHlch(52.07, 86.02, 317.68°)
OKLaboklab(61.46% 0.1528 -0.1631)
OKLCHoklch(61.46% 0.223 313.1)
XYZxyz(34.6022, 20.2100, 73.2977)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DE1 #7CE14D
analogous
#684DE1 #B24DE1 #E14DC6
triadic
#B24DE1 #E1B24D #4DE1B2
tetradic
#B24DE1 #E1684D #7CE14D #4DC6E1
square
#B24DE1 #E1684D #7CE14D #4DC6E1
split-complementary
#B24DE1 #C6E14D #4DE168
monochromatic
#711A9A #9823CE #B24DE1 #C981EA #DFB6F3

Accessibility & contrast

On white

4.17
#B24DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B24DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DE1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DE1#FFFFFF#000000##000000
##B24DE11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#437EDE
Tritanopia (blue-blind)
#AD6A91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24de1;
/* rgb */ color: rgb(178, 77, 225);
/* oklch */ color: oklch(61.5% 0.223 313.1);
Tailwind
colors: {
  custom: {
    50: '#cd86eb',
    500: '#b24de1',
    950: '#000000',
  },
}
SCSS
$custom: #b24de1;
$custom-light: #cd86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b24de1",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 280.946,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.22349,
    "h": 313.1
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#B24DE1
secondary
#BAE2A8
accent
#EE3A73
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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