#B24DDF#B24DDF

#B24DDF is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.222 H 313.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B24DDF
RGBrgb(178, 77, 223)
HSLhsl(282, 70%, 59%)
HSVhsv(282, 65%, 87%)
CMYKcmyk(20.2%, 65.5%, 0%, 12.5%)
CIE-LABlab(51.95, 63.19, -56.98)
CIE-LCHlch(51.95, 85.08, 317.96°)
OKLaboklab(61.33% 0.1529 -0.1604)
OKLCHoklch(61.33% 0.222 313.6)
XYZxyz(34.3310, 20.1015, 71.8692)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DDF #7ADF4D
analogous
#694DDF #B24DDF #DF4DC3
triadic
#B24DDF #DFB24D #4DDFB2
tetradic
#B24DDF #DF694D #7ADF4D #4DC3DF
square
#B24DDF #DF694D #7ADF4D #4DC3DF
split-complementary
#B24DDF #C3DF4D #4DDF69
monochromatic
#701B97 #9724CA #B24DDF #C881E8 #DFB5F2

Accessibility & contrast

On white

4.18
#B24DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B24DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DDF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DDF#FFFFFF#000000##000000
##B24DDF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#AE6A90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24ddf;
/* rgb */ color: rgb(178, 77, 223);
/* oklch */ color: oklch(61.3% 0.222 313.6);
Tailwind
colors: {
  custom: {
    50: '#cd86ea',
    500: '#b24ddf',
    950: '#000000',
  },
}
SCSS
$custom: #b24ddf;
$custom-light: #cd86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ddf",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 281.507,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61331,
    "c": 0.22159,
    "h": 313.6
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

primary
#B24DDF
secondary
#B9E1A7
accent
#EC3B72
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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