#B24CD7#B24CD7

#B24CD7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.215 H 315.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B24CD7
RGBrgb(178, 76, 215)
HSLhsl(284, 63%, 57%)
HSVhsv(284, 65%, 84%)
CMYKcmyk(17.2%, 64.7%, 0%, 15.7%)
CIE-LABlab(51.31, 62.01, -53.46)
CIE-LCHlch(51.31, 81.87, 319.24°)
OKLaboklab(60.72% 0.1544 -0.1501)
OKLCHoklch(60.72% 0.215 315.8)
XYZxyz(33.2084, 19.5414, 66.2994)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CD7 #71D74C
analogous
#6D4CD7 #B24CD7 #D74CB6
triadic
#B24CD7 #D7B24C #4CD7B2
tetradic
#B24CD7 #D76D4C #71D74C #4CB6D7
square
#B24CD7 #D76D4C #71D74C #4CB6D7
split-complementary
#B24CD7 #B6D74C #4CD76D
monochromatic
#6D1F8A #952ABC #B24CD7 #C87EE2 #DDB0ED

Accessibility & contrast

On white

4.28
#B24CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B24CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CD7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CD7#FFFFFF#000000##000000
##B24CD71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F74DB
Deuteranopia (green-blind)
#4B7DD4
Tritanopia (blue-blind)
#B0668B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b24cd7;
/* rgb */ color: rgb(178, 76, 215);
/* oklch */ color: oklch(60.7% 0.215 315.8);
Tailwind
colors: {
  custom: {
    50: '#cd85e4',
    500: '#b24cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b24cd7;
$custom-light: #cd85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cd7",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 284.029,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60719,
    "c": 0.21528,
    "h": 315.8
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#B24CD7
secondary
#B2DCA3
accent
#E6416D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B24CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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