#B24CE3#B24CE3

#B24CE3 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.227 H 312.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B24CE3
RGBrgb(178, 76, 227)
HSLhsl(281, 73%, 59%)
HSVhsv(281, 67%, 89%)
CMYKcmyk(21.6%, 66.5%, 0%, 11%)
CIE-LABlab(52.04, 64.44, -59.10)
CIE-LCHlch(52.04, 87.44, 317.48°)
OKLaboklab(61.47% 0.1537 -0.1666)
OKLCHoklch(61.47% 0.227 312.7)
XYZxyz(34.8072, 20.1809, 74.7199)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CE3 #7DE34C
analogous
#674CE3 #B24CE3 #E34CC8
triadic
#B24CE3 #E3B24C #4CE3B2
tetradic
#B24CE3 #E3674C #7DE34C #4CC8E3
square
#B24CE3 #E3674C #7DE34C #4CC8E3
split-complementary
#B24CE3 #C8E34C #4CE367
monochromatic
#71189C #9821D1 #B24CE3 #C981EB #E0B6F4

Accessibility & contrast

On white

4.17
#B24CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B24CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CE3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CE3#FFFFFF#000000##000000
##B24CE31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#407EE0
Tritanopia (blue-blind)
#AD6B92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24ce3;
/* rgb */ color: rgb(178, 76, 227);
/* oklch */ color: oklch(61.5% 0.227 312.7);
Tailwind
colors: {
  custom: {
    50: '#cd85ed',
    500: '#b24ce3',
    950: '#000000',
  },
}
SCSS
$custom: #b24ce3;
$custom-light: #cd85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ce3",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 280.53,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.22668,
    "h": 312.7
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#B24CE3
secondary
#BBE3A8
accent
#F03874
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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