#B24FD5#B24FD5

#B24FD5 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.9% C 0.209 H 316.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B24FD5
RGBrgb(178, 79, 213)
HSLhsl(284, 61%, 57%)
HSVhsv(284, 63%, 84%)
CMYKcmyk(16.4%, 62.9%, 0%, 16.5%)
CIE-LABlab(51.68, 60.28, -51.73)
CIE-LCHlch(51.68, 79.43, 319.36°)
OKLaboklab(60.95% 0.151 -0.145)
OKLCHoklch(60.95% 0.209 316.1)
XYZxyz(33.1645, 19.8622, 65.0247)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FD5 #72D54F
analogous
#6F4FD5 #B24FD5 #D54FB5
triadic
#B24FD5 #D5B24F #4FD5B2
tetradic
#B24FD5 #D56F4F #72D54F #4FB5D5
square
#B24FD5 #D56F4F #72D54F #4FB5D5
split-complementary
#B24FD5 #B5D54F #4FD56F
monochromatic
#6E2189 #952CBA #B24FD5 #C880E1 #DDB2ED

Accessibility & contrast

On white

4.22
#B24FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B24FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FD5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FD5#FFFFFF#000000##000000
##B24FD51.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F75D9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#B0678B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b24fd5;
/* rgb */ color: rgb(178, 79, 213);
/* oklch */ color: oklch(60.9% 0.209 316.1);
Tailwind
colors: {
  custom: {
    50: '#cc86e2',
    500: '#b24fd5',
    950: '#000000',
  },
}
SCSS
$custom: #b24fd5;
$custom-light: #cc86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fd5",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 284.328,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60946,
    "c": 0.20934,
    "h": 316.1
  },
  "luminance": 0.19861
}

Semantic roles & 50–950 ramp

primary
#B24FD5
secondary
#B3DBA5
accent
#E5436D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B24FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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