#B24ED9#B24ED9

#B24ED9 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.215 H 315.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B24ED9
RGBrgb(178, 78, 217)
HSLhsl(283, 65%, 58%)
HSVhsv(283, 64%, 85%)
CMYKcmyk(18%, 64.1%, 0%, 14.9%)
CIE-LABlab(51.75, 61.53, -53.90)
CIE-LCHlch(51.75, 81.80, 318.78°)
OKLaboklab(61.07% 0.152 -0.1514)
OKLCHoklch(61.07% 0.215 315.1)
XYZxyz(33.6069, 19.9247, 67.7077)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24ED9 #75D94E
analogous
#6C4ED9 #B24ED9 #D94EBB
triadic
#B24ED9 #D9B24E #4ED9B2
tetradic
#B24ED9 #D96C4E #75D94E #4EBBD9
square
#B24ED9 #D96C4E #75D94E #4EBBD9
split-complementary
#B24ED9 #BBD94E #4ED96C
monochromatic
#6F1F8E #9629C0 #B24ED9 #C880E4 #DEB3EF

Accessibility & contrast

On white

4.21
#B24ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B24ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24ED9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24ED9#FFFFFF#000000##000000
##B24ED91.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1276DD
Deuteranopia (green-blind)
#4B7ED6
Tritanopia (blue-blind)
#AF688D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b24ed9;
/* rgb */ color: rgb(178, 78, 217);
/* oklch */ color: oklch(61.1% 0.215 315.1);
Tailwind
colors: {
  custom: {
    50: '#cd86e5',
    500: '#b24ed9',
    950: '#000000',
  },
}
SCSS
$custom: #b24ed9;
$custom-light: #cd86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ed9",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 283.165,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.21452,
    "h": 315.1
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#B24ED9
secondary
#B5DDA6
accent
#E8406F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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