#B24BE1#B24BE1

#B24BE1 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.226 H 313.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B24BE1
RGBrgb(178, 75, 225)
HSLhsl(281, 71%, 59%)
HSVhsv(281, 67%, 88%)
CMYKcmyk(20.9%, 66.7%, 0%, 11.8%)
CIE-LABlab(51.76, 64.46, -58.41)
CIE-LCHlch(51.76, 86.99, 317.82°)
OKLaboklab(61.23% 0.155 -0.1646)
OKLCHoklch(61.23% 0.226 313.3)
XYZxyz(34.4644, 19.9344, 73.2518)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BE1 #7AE14B
analogous
#674BE1 #B24BE1 #E14BC5
triadic
#B24BE1 #E1B24B #4BE1B2
tetradic
#B24BE1 #E1674B #7AE14B #4BC5E1
square
#B24BE1 #E1674B #7AE14B #4BC5E1
split-complementary
#B24BE1 #C5E14B #4BE167
monochromatic
#701998 #9722CD #B24BE1 #C87FEA #DFB4F2

Accessibility & contrast

On white

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

On black

4.99
#B24BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BE1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BE1#FFFFFF#000000##000000
##B24BE11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#417EDE
Tritanopia (blue-blind)
#AD6990
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b24be1;
/* rgb */ color: rgb(178, 75, 225);
/* oklch */ color: oklch(61.2% 0.226 313.3);
Tailwind
colors: {
  custom: {
    50: '#cd85eb',
    500: '#b24be1',
    950: '#000000',
  },
}
SCSS
$custom: #b24be1;
$custom-light: #cd85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b24be1",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 281.2,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61235,
    "c": 0.22604,
    "h": 313.3
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#B24BE1
secondary
#B9E1A6
accent
#EE3A72
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B24BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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