#B24EA2#B24EA2

#B24EA2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.165 H 334.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B24EA2
RGBrgb(178, 78, 162)
HSLhsl(310, 39%, 50%)
HSVhsv(310, 56%, 70%)
CMYKcmyk(0%, 56.2%, 9%, 30.2%)
CIE-LABlab(48.91, 51.32, -26.51)
CIE-LCHlch(48.91, 57.76, 332.68°)
OKLaboklab(58.08% 0.1482 -0.0721)
OKLCHoklch(58.08% 0.165 334.1)
XYZxyz(27.6061, 17.5244, 36.1039)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EA2 #4EB25E
analogous
#904EB2 #B24EA2 #B24E70
triadic
#B24EA2 #A2B24E #4EA2B2
tetradic
#B24EA2 #B2904E #4EB25E #4E70B2
square
#B24EA2 #B2904E #4EB25E #4E70B2
split-complementary
#B24EA2 #70B24E #4EB290
monochromatic
#5D2955 #883B7B #B24EA2 #C579B8 #D7A3CF

Accessibility & contrast

On white

4.66
#B24EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B24EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24EA2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24EA2#FFFFFF#000000##FFFFFF
##B24EA21.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#BA5471
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24ea2;
/* rgb */ color: rgb(178, 78, 162);
/* oklch */ color: oklch(58.1% 0.165 334.1);
Tailwind
colors: {
  custom: {
    50: '#cb84bd',
    500: '#b24ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b24ea2;
$custom-light: #cb84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ea2",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 309.6,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.16476,
    "h": 334.1
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#B24EA2
secondary
#98C49F
accent
#CF6C59
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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