#B24EFB#B24EFB

#B24EFB is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.3% C 0.247 H 307.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B24EFB
RGBrgb(178, 78, 251)
HSLhsl(275, 96%, 65%)
HSVhsv(275, 69%, 98%)
CMYKcmyk(29.1%, 68.9%, 0%, 1.6%)
CIE-LABlab(53.90, 68.64, -69.55)
CIE-LCHlch(53.90, 97.72, 314.63°)
OKLaboklab(63.3% 0.1492 -0.1973)
OKLCHoklch(63.3% 0.247 307.1)
XYZxyz(38.4934, 21.8793, 93.4433)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EFB #97FB4E
analogous
#5C4EFB #B24EFB #FB4EEE
triadic
#B24EFB #FBB24E #4EFBB2
tetradic
#B24EFB #FB5C4E #97FB4E #4EEEFB
square
#B24EFB #FB5C4E #97FB4E #4EEEFB
split-complementary
#B24EFB #EEFB4E #4EFB5C
monochromatic
#7705CA #9812FA #B24EFB #CC8AFC #E6C6FE

Accessibility & contrast

On white

3.91
#B24EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B24EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24EFB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24EFB#FFFFFF#000000##000000
##B24EFB1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#1882F7
Tritanopia (blue-blind)
#A6759F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b24efb;
/* rgb */ color: rgb(178, 78, 251);
/* oklch */ color: oklch(63.3% 0.247 307.1);
Tailwind
colors: {
  custom: {
    50: '#ce87fe',
    500: '#b24efb',
    950: '#000000',
  },
}
SCSS
$custom: #b24efb;
$custom-light: #ce87fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b24efb",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 251
  },
  "hsl": {
    "h": 274.682,
    "s": 95.58,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63295,
    "c": 0.24736,
    "h": 307.1
  },
  "luminance": 0.21879
}

Semantic roles & 50–950 ramp

primary
#B24EFB
secondary
#CEF0B5
accent
#E60061
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B24EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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