#B24CDB#B24CDB

#B24CDB is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.219 H 314.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B24CDB
RGBrgb(178, 76, 219)
HSLhsl(283, 67%, 58%)
HSVhsv(283, 65%, 86%)
CMYKcmyk(18.7%, 65.3%, 0%, 14.1%)
CIE-LABlab(51.55, 62.81, -55.35)
CIE-LCHlch(51.55, 83.72, 318.61°)
OKLaboklab(60.97% 0.1542 -0.1556)
OKLCHoklch(60.97% 0.219 314.7)
XYZxyz(33.7286, 19.7495, 69.0394)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CDB #75DB4C
analogous
#6A4CDB #B24CDB #DB4CBD
triadic
#B24CDB #DBB24C #4CDBB2
tetradic
#B24CDB #DB6A4C #75DB4C #4CBDDB
square
#B24CDB #DB6A4C #75DB4C #4CBDDB
split-complementary
#B24CDB #BDDB4C #4CDB6A
monochromatic
#6F1D90 #9627C3 #B24CDB #C87FE5 #DEB2EF

Accessibility & contrast

On white

4.24
#B24CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B24CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CDB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CDB#FFFFFF#000000##000000
##B24CDB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#AF678D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b24cdb;
/* rgb */ color: rgb(178, 76, 219);
/* oklch */ color: oklch(61.0% 0.219 314.7);
Tailwind
colors: {
  custom: {
    50: '#cd85e7',
    500: '#b24cdb',
    950: '#000000',
  },
}
SCSS
$custom: #b24cdb;
$custom-light: #cd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cdb",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 282.797,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.21907,
    "h": 314.7
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#B24CDB
secondary
#B5DEA5
accent
#E93E6F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B24CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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