#B24DE7#B24DE7

#B24DE7 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.8% C 0.229 H 311.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B24DE7
RGBrgb(178, 77, 231)
HSLhsl(279, 76%, 60%)
HSVhsv(279, 67%, 91%)
CMYKcmyk(22.9%, 66.7%, 0%, 9.4%)
CIE-LABlab(52.45, 64.84, -60.70)
CIE-LCHlch(52.45, 88.82, 316.89°)
OKLaboklab(61.84% 0.1524 -0.1713)
OKLCHoklch(61.84% 0.229 311.7)
XYZxyz(35.4351, 20.5431, 77.6844)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DE7 #82E74D
analogous
#654DE7 #B24DE7 #E74DCF
triadic
#B24DE7 #E7B24D #4DE7B2
tetradic
#B24DE7 #E7654D #82E74D #4DCFE7
square
#B24DE7 #E7654D #82E74D #4DCFE7
split-complementary
#B24DE7 #CFE74D #4DE765
monochromatic
#7316A4 #991DD9 #B24DE7 #C983EE #E1B9F6

Accessibility & contrast

On white

4.11
#B24DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B24DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DE7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DE7#FFFFFF#000000##000000
##B24DE71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#3C7FE4
Tritanopia (blue-blind)
#AC6D94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24de7;
/* rgb */ color: rgb(178, 77, 231);
/* oklch */ color: oklch(61.8% 0.229 311.7);
Tailwind
colors: {
  custom: {
    50: '#cd86ef',
    500: '#b24de7',
    950: '#000000',
  },
}
SCSS
$custom: #b24de7;
$custom-light: #cd86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b24de7",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 279.351,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61844,
    "c": 0.22925,
    "h": 311.7
  },
  "luminance": 0.20542
}

Semantic roles & 50–950 ramp

primary
#B24DE7
secondary
#BFE5AA
accent
#D80D53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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