#B24EAF#B24EAF

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

Color values

HEX#B24EAF
RGBrgb(178, 78, 175)
HSLhsl(302, 39%, 50%)
HSVhsv(302, 56%, 70%)
CMYKcmyk(0%, 56.2%, 1.7%, 30.2%)
CIE-LABlab(49.51, 53.55, -33.23)
CIE-LCHlch(49.51, 63.02, 328.18°)
OKLaboklab(58.72% 0.1501 -0.0913)
OKLCHoklch(58.72% 0.176 328.7)
XYZxyz(28.8220, 18.0107, 42.5074)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EAF #4EB251
analogous
#834EB2 #B24EAF #B24E7D
triadic
#B24EAF #AFB24E #4EAFB2
tetradic
#B24EAF #B2834E #4EB251 #4E7DB2
square
#B24EAF #B2834E #4EB251 #4E7DB2
split-complementary
#B24EAF #7DB24E #4EB283
monochromatic
#5D295C #883B85 #B24EAF #C579C2 #D7A3D6

Accessibility & contrast

On white

4.56
#B24EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24EAF#FFFFFF#000000##000000
##B24EAF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#B85977
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b24eaf;
/* rgb */ color: rgb(178, 78, 175);
/* oklch */ color: oklch(58.7% 0.176 328.7);
Tailwind
colors: {
  custom: {
    50: '#cc85c7',
    500: '#b24eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b24eaf;
$custom-light: #cc85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24eaf",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 301.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.1757,
    "h": 328.7
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#B24EAF
secondary
#98C499
accent
#CF5C59
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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