#B24FDD#B24FDD

#B24FDD is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.217 H 314.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B24FDD
RGBrgb(178, 79, 221)
HSLhsl(282, 68%, 59%)
HSVhsv(282, 64%, 87%)
CMYKcmyk(19.5%, 64.3%, 0%, 13.3%)
CIE-LABlab(52.15, 61.90, -55.53)
CIE-LCHlch(52.15, 83.15, 318.10°)
OKLaboklab(61.44% 0.1508 -0.1561)
OKLCHoklch(61.44% 0.217 314)
XYZxyz(34.2050, 20.2785, 70.5049)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FDD #7ADD4F
analogous
#6B4FDD #B24FDD #DD4FC1
triadic
#B24FDD #DDB24F #4FDDB2
tetradic
#B24FDD #DD6B4F #7ADD4F #4FC1DD
square
#B24FDD #DD6B4F #7ADD4F #4FC1DD
split-complementary
#B24FDD #C1DD4F #4FDD6B
monochromatic
#701D95 #9727C8 #B24FDD #C882E7 #DFB6F1

Accessibility & contrast

On white

4.15
#B24FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B24FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FDD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FDD#FFFFFF#000000##000000
##B24FDD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0677E1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#AE6A8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24fdd;
/* rgb */ color: rgb(178, 79, 221);
/* oklch */ color: oklch(61.4% 0.217 314.0);
Tailwind
colors: {
  custom: {
    50: '#cd87e8',
    500: '#b24fdd',
    950: '#000000',
  },
}
SCSS
$custom: #b24fdd;
$custom-light: #cd87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fdd",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 281.831,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.21704,
    "h": 314
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#B24FDD
secondary
#B9E0A8
accent
#EA3D72
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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