#B24CE2#B24CE2

#B24CE2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.226 H 312.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B24CE2
RGBrgb(178, 76, 226)
HSLhsl(281, 72%, 59%)
HSVhsv(281, 66%, 89%)
CMYKcmyk(21.2%, 66.4%, 0%, 11.4%)
CIE-LABlab(51.98, 64.24, -58.63)
CIE-LCHlch(51.98, 86.97, 317.61°)
OKLaboklab(61.41% 0.1538 -0.1652)
OKLCHoklch(61.41% 0.226 312.9)
XYZxyz(34.6696, 20.1258, 73.9951)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CE2 #7CE24C
analogous
#674CE2 #B24CE2 #E24CC7
triadic
#B24CE2 #E2B24C #4CE2B2
tetradic
#B24CE2 #E2674C #7CE24C #4CC7E2
square
#B24CE2 #E2674C #7CE24C #4CC7E2
split-complementary
#B24CE2 #C7E24C #4CE267
monochromatic
#71199B #9822CF #B24CE2 #C981EB #DFB5F3

Accessibility & contrast

On white

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

On black

5.03
#B24CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CE2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CE2#FFFFFF#000000##000000
##B24CE21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#417EDF
Tritanopia (blue-blind)
#AD6A91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24ce2;
/* rgb */ color: rgb(178, 76, 226);
/* oklch */ color: oklch(61.4% 0.226 312.9);
Tailwind
colors: {
  custom: {
    50: '#cd85ec',
    500: '#b24ce2',
    950: '#000000',
  },
}
SCSS
$custom: #b24ce2;
$custom-light: #cd85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ce2",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 280.8,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.22573,
    "h": 312.9
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B24CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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