#B24DE8#B24DE8

#B24DE8 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.9% C 0.230 H 311.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B24DE8
RGBrgb(178, 77, 232)
HSLhsl(279, 77%, 61%)
HSVhsv(279, 67%, 91%)
CMYKcmyk(23.3%, 66.8%, 0%, 9%)
CIE-LABlab(52.51, 65.04, -61.16)
CIE-LCHlch(52.51, 89.28, 316.76°)
OKLaboklab(61.91% 0.1523 -0.1727)
OKLCHoklch(61.91% 0.23 311.4)
XYZxyz(35.5768, 20.5998, 78.4303)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DE8 #83E84D
analogous
#644DE8 #B24DE8 #E84DD0
triadic
#B24DE8 #E8B24D #4DE8B2
tetradic
#B24DE8 #E8644D #83E84D #4DD0E8
square
#B24DE8 #E8644D #83E84D #4DD0E8
split-complementary
#B24DE8 #D0E84D #4DE864
monochromatic
#7315A5 #991CDB #B24DE8 #C983EF #E1B9F6

Accessibility & contrast

On white

4.10
#B24DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B24DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DE8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DE8#FFFFFF#000000##000000
##B24DE81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#3B7FE5
Tritanopia (blue-blind)
#AB6D95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24de8;
/* rgb */ color: rgb(178, 77, 232);
/* oklch */ color: oklch(61.9% 0.230 311.4);
Tailwind
colors: {
  custom: {
    50: '#cd86f0',
    500: '#b24de8',
    950: '#000000',
  },
}
SCSS
$custom: #b24de8;
$custom-light: #cd86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24de8",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 279.097,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61909,
    "c": 0.23022,
    "h": 311.4
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#B24DE8
secondary
#BFE6AB
accent
#D90C54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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