#B24DE6#B24DE6

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

Color values

HEX#B24DE6
RGBrgb(178, 77, 230)
HSLhsl(280, 75%, 60%)
HSVhsv(280, 67%, 90%)
CMYKcmyk(22.6%, 66.5%, 0%, 9.8%)
CIE-LABlab(52.38, 64.63, -60.24)
CIE-LCHlch(52.38, 88.35, 317.01°)
OKLaboklab(61.78% 0.1524 -0.1699)
OKLCHoklch(61.78% 0.228 311.9)
XYZxyz(35.2943, 20.4868, 76.9427)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DE6 #81E64D
analogous
#664DE6 #B24DE6 #E64DCD
triadic
#B24DE6 #E6B24D #4DE6B2
tetradic
#B24DE6 #E6664D #81E64D #4DCDE6
square
#B24DE6 #E6664D #81E64D #4DCDE6
split-complementary
#B24DE6 #CDE64D #4DE666
monochromatic
#7317A2 #991ED8 #B24DE6 #C983EE #E0B8F5

Accessibility & contrast

On white

4.12
#B24DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24DE6#FFFFFF#000000##000000
##B24DE61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#AC6C93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24de6;
/* rgb */ color: rgb(178, 77, 230);
/* oklch */ color: oklch(61.8% 0.228 311.9);
Tailwind
colors: {
  custom: {
    50: '#cd86ef',
    500: '#b24de6',
    950: '#000000',
  },
}
SCSS
$custom: #b24de6;
$custom-light: #cd86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b24de6",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 279.608,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.22829,
    "h": 311.9
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#B24DE6
secondary
#BEE5AA
accent
#D80E52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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