#B24DE5#B24DE5

#B24DE5 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.7% C 0.227 H 312.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B24DE5
RGBrgb(178, 77, 229)
HSLhsl(280, 75%, 60%)
HSVhsv(280, 66%, 90%)
CMYKcmyk(22.3%, 66.4%, 0%, 10.2%)
CIE-LABlab(52.32, 64.42, -59.78)
CIE-LCHlch(52.32, 87.88, 317.14°)
OKLaboklab(61.71% 0.1525 -0.1686)
OKLCHoklch(61.71% 0.227 312.1)
XYZxyz(35.1543, 20.4308, 76.2052)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DE5 #80E54D
analogous
#664DE5 #B24DE5 #E54DCC
triadic
#B24DE5 #E5B24D #4DE5B2
tetradic
#B24DE5 #E5664D #80E54D #4DCCE5
square
#B24DE5 #E5664D #80E54D #4DCCE5
split-complementary
#B24DE5 #CCE54D #4DE566
monochromatic
#7217A0 #981FD6 #B24DE5 #C982ED #E0B8F5

Accessibility & contrast

On white

4.13
#B24DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B24DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DE5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DE5#FFFFFF#000000##000000
##B24DE51.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#3E7FE2
Tritanopia (blue-blind)
#AC6C93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24de5;
/* rgb */ color: rgb(178, 77, 229);
/* oklch */ color: oklch(61.7% 0.227 312.1);
Tailwind
colors: {
  custom: {
    50: '#cd86ee',
    500: '#b24de5',
    950: '#000000',
  },
}
SCSS
$custom: #b24de5;
$custom-light: #cd86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b24de5",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 279.868,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.22734,
    "h": 312.1
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#B24DE5
secondary
#BDE4AA
accent
#F13775
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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