#B24FAF#B24FAF

#B24FAF is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.8% C 0.174 H 328.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B24FAF
RGBrgb(178, 79, 175)
HSLhsl(302, 39%, 50%)
HSVhsv(302, 56%, 70%)
CMYKcmyk(0%, 55.6%, 1.7%, 30.2%)
CIE-LABlab(49.68, 53.08, -32.95)
CIE-LCHlch(49.68, 62.48, 328.17°)
OKLaboklab(58.84% 0.1488 -0.0905)
OKLCHoklch(58.84% 0.174 328.7)
XYZxyz(28.8936, 18.1539, 42.5313)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FAF #4FB252
analogous
#834FB2 #B24FAF #B24F7D
triadic
#B24FAF #AFB24F #4FAFB2
tetradic
#B24FAF #B2834F #4FB252 #4F7DB2
square
#B24FAF #B2834F #4FB252 #4F7DB2
split-complementary
#B24FAF #7DB24F #4FB283
monochromatic
#5E295C #883C86 #B24FAF #C57AC2 #D7A4D6

Accessibility & contrast

On white

4.54
#B24FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B24FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FAF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FAF#FFFFFF#000000##000000
##B24FAF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#B75A78
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b24faf;
/* rgb */ color: rgb(178, 79, 175);
/* oklch */ color: oklch(58.8% 0.174 328.7);
Tailwind
colors: {
  custom: {
    50: '#cb85c7',
    500: '#b24faf',
    950: '#000000',
  },
}
SCSS
$custom: #b24faf;
$custom-light: #cb85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24faf",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 301.818,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.17416,
    "h": 328.7
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B24FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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