#B24CE9#B24CE9

#B24CE9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.9% C 0.232 H 311.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B24CE9
RGBrgb(178, 76, 233)
HSLhsl(279, 78%, 61%)
HSVhsv(279, 67%, 91%)
CMYKcmyk(23.6%, 67.4%, 0%, 8.6%)
CIE-LABlab(52.42, 65.68, -61.87)
CIE-LCHlch(52.42, 90.24, 316.71°)
OKLaboklab(61.86% 0.1533 -0.1747)
OKLCHoklch(61.86% 0.232 311.3)
XYZxyz(35.6498, 20.5179, 79.1574)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CE9 #83E94C
analogous
#634CE9 #B24CE9 #E94CD1
triadic
#B24CE9 #E9B24C #4CE9B2
tetradic
#B24CE9 #E9634C #83E94C #4CD1E9
square
#B24CE9 #E9634C #83E94C #4CD1E9
split-complementary
#B24CE9 #D1E94C #4CE963
monochromatic
#7314A6 #991BDD #B24CE9 #C983F0 #E1B9F6

Accessibility & contrast

On white

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

On black

5.10
#B24CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CE9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CE9#FFFFFF#000000##000000
##B24CE91.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#387FE5
Tritanopia (blue-blind)
#AB6D95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24ce9;
/* rgb */ color: rgb(178, 76, 233);
/* oklch */ color: oklch(61.9% 0.232 311.3);
Tailwind
colors: {
  custom: {
    50: '#cd85f1',
    500: '#b24ce9',
    950: '#000000',
  },
}
SCSS
$custom: #b24ce9;
$custom-light: #cd85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ce9",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 278.981,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61864,
    "c": 0.23241,
    "h": 311.3
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B24CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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