#B24DB2#B24DB2

#B24DB2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.180 H 327.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B24DB2
RGBrgb(178, 77, 178)
HSLhsl(300, 40%, 50%)
HSVhsv(300, 57%, 70%)
CMYKcmyk(0%, 56.7%, 0%, 30.2%)
CIE-LABlab(49.48, 54.55, -35.02)
CIE-LCHlch(49.48, 64.82, 327.30°)
OKLaboklab(58.74% 0.1518 -0.0965)
OKLCHoklch(58.74% 0.18 327.6)
XYZxyz(29.0494, 17.9889, 44.0530)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DB2 #4DB24D
analogous
#7F4DB2 #B24DB2 #B24D80
triadic
#B24DB2 #B2B24D #4DB2B2
tetradic
#B24DB2 #B2804D #4DB24D #4D7FB2
square
#B24DB2 #B2804D #4DB24D #4D7FB2
split-complementary
#B24DB2 #80B24D #4DB280
monochromatic
#5D285D #873B87 #B24DB2 #C478C4 #D7A2D7

Accessibility & contrast

On white

4.57
#B24DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B24DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DB2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DB2#FFFFFF#000000##000000
##B24DB21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#B75978
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b24db2;
/* rgb */ color: rgb(178, 77, 178);
/* oklch */ color: oklch(58.7% 0.180 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc84c9',
    500: '#b24db2',
    950: '#000000',
  },
}
SCSS
$custom: #b24db2;
$custom-light: #cc84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b24db2",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.17985,
    "h": 327.6
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#B24DB2
secondary
#97C497
accent
#CF5858
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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