#B24BDB#B24BDB

#B24BDB is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.220 H 314.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B24BDB
RGBrgb(178, 75, 219)
HSLhsl(283, 67%, 58%)
HSVhsv(283, 66%, 86%)
CMYKcmyk(18.7%, 65.8%, 0%, 14.1%)
CIE-LABlab(51.40, 63.25, -55.60)
CIE-LCHlch(51.40, 84.21, 318.68°)
OKLaboklab(60.85% 0.1553 -0.1563)
OKLCHoklch(60.85% 0.22 314.8)
XYZxyz(33.6603, 19.6127, 69.0166)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BDB #74DB4B
analogous
#6A4BDB #B24BDB #DB4BBC
triadic
#B24BDB #DBB24B #4BDBB2
tetradic
#B24BDB #DB6A4B #74DB4B #4BBCDB
square
#B24BDB #DB6A4B #74DB4B #4BBCDB
split-complementary
#B24BDB #BCDB4B #4BDB6A
monochromatic
#6E1D8F #9627C2 #B24BDB #C87EE5 #DEB1EF

Accessibility & contrast

On white

4.27
#B24BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B24BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BDB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BDB#FFFFFF#000000##000000
##B24BDB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#AF678D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b24bdb;
/* rgb */ color: rgb(178, 75, 219);
/* oklch */ color: oklch(60.9% 0.220 314.8);
Tailwind
colors: {
  custom: {
    50: '#cd84e7',
    500: '#b24bdb',
    950: '#000000',
  },
}
SCSS
$custom: #b24bdb;
$custom-light: #cd84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bdb",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 282.917,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.22036,
    "h": 314.8
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#B24BDB
secondary
#B4DEA4
accent
#EA3E6F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B24BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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