#B24CE1#B24CE1

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

Color values

HEX#B24CE1
RGBrgb(178, 76, 225)
HSLhsl(281, 71%, 59%)
HSVhsv(281, 66%, 88%)
CMYKcmyk(20.9%, 66.2%, 0%, 11.8%)
CIE-LABlab(51.92, 64.03, -58.17)
CIE-LCHlch(51.92, 86.51, 317.75°)
OKLaboklab(61.35% 0.1539 -0.1638)
OKLCHoklch(61.35% 0.225 313.2)
XYZxyz(34.5328, 20.0711, 73.2746)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CE1 #7BE14C
analogous
#684CE1 #B24CE1 #E14CC6
triadic
#B24CE1 #E1B24C #4CE1B2
tetradic
#B24CE1 #E1684C #7BE14C #4CC6E1
square
#B24CE1 #E1684C #7BE14C #4CC6E1
split-complementary
#B24CE1 #C6E14C #4CE168
monochromatic
#711A99 #9722CD #B24CE1 #C980EA #DFB5F3

Accessibility & contrast

On white

4.19
#B24CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B24CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CE1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CE1#FFFFFF#000000##000000
##B24CE11.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#427EDE
Tritanopia (blue-blind)
#AD6A90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24ce1;
/* rgb */ color: rgb(178, 76, 225);
/* oklch */ color: oklch(61.3% 0.225 313.2);
Tailwind
colors: {
  custom: {
    50: '#cd85eb',
    500: '#b24ce1',
    950: '#000000',
  },
}
SCSS
$custom: #b24ce1;
$custom-light: #cd85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ce1",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 281.074,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.22477,
    "h": 313.2
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B24CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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