#B24FE4#B24FE4

#B24FE4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.9% C 0.224 H 312.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B24FE4
RGBrgb(178, 79, 228)
HSLhsl(280, 73%, 60%)
HSVhsv(280, 65%, 89%)
CMYKcmyk(21.9%, 65.4%, 0%, 10.6%)
CIE-LABlab(52.57, 63.34, -58.80)
CIE-LCHlch(52.57, 86.43, 317.13°)
OKLaboklab(61.88% 0.1504 -0.1657)
OKLCHoklch(61.88% 0.224 312.2)
XYZxyz(35.1571, 20.6593, 75.5194)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FE4 #81E44F
analogous
#684FE4 #B24FE4 #E44FCB
triadic
#B24FE4 #E4B24F #4FE4B2
tetradic
#B24FE4 #E4684F #81E44F #4FCBE4
square
#B24FE4 #E4684F #81E44F #4FCBE4
split-complementary
#B24FE4 #CBE44F #4FE468
monochromatic
#7319A0 #9921D5 #B24FE4 #C984EC #E0B9F4

Accessibility & contrast

On white

4.09
#B24FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B24FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FE4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FE4#FFFFFF#000000##000000
##B24FE41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#4280E1
Tritanopia (blue-blind)
#AC6D93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24fe4;
/* rgb */ color: rgb(178, 79, 228);
/* oklch */ color: oklch(61.9% 0.224 312.2);
Tailwind
colors: {
  custom: {
    50: '#cd87ed',
    500: '#b24fe4',
    950: '#000000',
  },
}
SCSS
$custom: #b24fe4;
$custom-light: #cd87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fe4",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 279.866,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.22381,
    "h": 312.2
  },
  "luminance": 0.20658
}

Semantic roles & 50–950 ramp

primary
#B24FE4
secondary
#BEE4AB
accent
#D61052
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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