#B24FDB#B24FDB

#B24FDB is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.215 H 314.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B24FDB
RGBrgb(178, 79, 219)
HSLhsl(282, 66%, 58%)
HSVhsv(282, 64%, 86%)
CMYKcmyk(18.7%, 63.9%, 0%, 14.1%)
CIE-LABlab(52.03, 61.49, -54.58)
CIE-LCHlch(52.03, 82.22, 318.40°)
OKLaboklab(61.31% 0.1508 -0.1534)
OKLCHoklch(61.31% 0.215 314.5)
XYZxyz(33.9402, 20.1725, 69.1099)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FDB #78DB4F
analogous
#6C4FDB #B24FDB #DB4FBE
triadic
#B24FDB #DBB24F #4FDBB2
tetradic
#B24FDB #DB6C4F #78DB4F #4FBEDB
square
#B24FDB #DB6C4F #78DB4F #4FBEDB
split-complementary
#B24FDB #BEDB4F #4FDB6C
monochromatic
#701E92 #9728C5 #B24FDB #C882E5 #DEB5F0

Accessibility & contrast

On white

4.17
#B24FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B24FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FDB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FDB#FFFFFF#000000##000000
##B24FDB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DF
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#AF698E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24fdb;
/* rgb */ color: rgb(178, 79, 219);
/* oklch */ color: oklch(61.3% 0.215 314.5);
Tailwind
colors: {
  custom: {
    50: '#cd87e7',
    500: '#b24fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b24fdb;
$custom-light: #cd87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fdb",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 282.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.21511,
    "h": 314.5
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#B24FDB
secondary
#B7DFA7
accent
#E93F71
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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