#B24BE5#B24BE5

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

Color values

HEX#B24BE5
RGBrgb(178, 75, 229)
HSLhsl(280, 75%, 60%)
HSVhsv(280, 67%, 90%)
CMYKcmyk(22.3%, 67.2%, 0%, 10.2%)
CIE-LABlab(52.01, 65.28, -60.27)
CIE-LCHlch(52.01, 88.85, 317.28°)
OKLaboklab(61.49% 0.1547 -0.17)
OKLCHoklch(61.49% 0.23 312.3)
XYZxyz(35.0165, 20.1552, 76.1593)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BE5 #7EE54B
analogous
#654BE5 #B24BE5 #E54BCB
triadic
#B24BE5 #E5B24B #4BE5B2
tetradic
#B24BE5 #E5654B #7EE54B #4BCBE5
square
#B24BE5 #E5654B #7EE54B #4BCBE5
split-complementary
#B24BE5 #CBE54B #4BE565
monochromatic
#72179F #981FD4 #B24BE5 #C980ED #E0B6F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24BE5#FFFFFF#000000##000000
##B24BE51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#AC6B92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24be5;
/* rgb */ color: rgb(178, 75, 229);
/* oklch */ color: oklch(61.5% 0.230 312.3);
Tailwind
colors: {
  custom: {
    50: '#cd85ee',
    500: '#b24be5',
    950: '#000000',
  },
}
SCSS
$custom: #b24be5;
$custom-light: #cd85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b24be5",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 280.13,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.22984,
    "h": 312.3
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#B24BE5
secondary
#BCE4A8
accent
#F13674
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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