#B24FE1#B24FE1

#B24FE1 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.221 H 313.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B24FE1
RGBrgb(178, 79, 225)
HSLhsl(281, 71%, 60%)
HSVhsv(281, 65%, 88%)
CMYKcmyk(20.9%, 64.9%, 0%, 11.8%)
CIE-LABlab(52.39, 62.72, -57.40)
CIE-LCHlch(52.39, 85.02, 317.53°)
OKLaboklab(61.69% 0.1506 -0.1616)
OKLCHoklch(61.69% 0.221 313)
XYZxyz(34.7443, 20.4942, 73.3451)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FE1 #7EE14F
analogous
#694FE1 #B24FE1 #E14FC7
triadic
#B24FE1 #E1B24F #4FE1B2
tetradic
#B24FE1 #E1694F #7EE14F #4FC7E1
square
#B24FE1 #E1694F #7EE14F #4FC7E1
split-complementary
#B24FE1 #C7E14F #4FE169
monochromatic
#721A9B #9823CF #B24FE1 #C983EA #E0B8F3

Accessibility & contrast

On white

4.12
#B24FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B24FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FE1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FE1#FFFFFF#000000##000000
##B24FE11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#457FDE
Tritanopia (blue-blind)
#AD6C91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24fe1;
/* rgb */ color: rgb(178, 79, 225);
/* oklch */ color: oklch(61.7% 0.221 313.0);
Tailwind
colors: {
  custom: {
    50: '#cd87eb',
    500: '#b24fe1',
    950: '#000000',
  },
}
SCSS
$custom: #b24fe1;
$custom-light: #cd87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fe1",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 280.685,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.22091,
    "h": 313
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

primary
#B24FE1
secondary
#BCE2AA
accent
#EE3A74
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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