#B24EF2#B24EF2

#B24EF2 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.7% C 0.239 H 309.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B24EF2
RGBrgb(178, 78, 242)
HSLhsl(277, 86%, 63%)
HSVhsv(277, 68%, 95%)
CMYKcmyk(26.4%, 67.8%, 0%, 5.1%)
CIE-LABlab(53.30, 66.72, -65.49)
CIE-LCHlch(53.30, 93.49, 315.53°)
OKLaboklab(62.68% 0.1503 -0.1854)
OKLCHoklch(62.68% 0.239 309)
XYZxyz(37.1083, 21.3252, 86.1485)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EF2 #8EF24E
analogous
#604EF2 #B24EF2 #F24EE0
triadic
#B24EF2 #F2B24E #4EF2B2
tetradic
#B24EF2 #F2604E #8EF24E #4EE0F2
square
#B24EF2 #F2604E #8EF24E #4EE0F2
split-complementary
#B24EF2 #E0F24E #4EF260
monochromatic
#760EB8 #9915EE #B24EF2 #CB87F6 #E4C0FA

Accessibility & contrast

On white

3.99
#B24EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B24EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24EF2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24EF2#FFFFFF#000000##000000
##B24EF21.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#2D81EE
Tritanopia (blue-blind)
#A9729A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b24ef2;
/* rgb */ color: rgb(178, 78, 242);
/* oklch */ color: oklch(62.7% 0.239 309.0);
Tailwind
colors: {
  custom: {
    50: '#ce87f7',
    500: '#b24ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b24ef2;
$custom-light: #ce87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ef2",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 276.585,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62682,
    "c": 0.23864,
    "h": 309
  },
  "luminance": 0.21325
}

Semantic roles & 50–950 ramp

primary
#B24EF2
secondary
#C7ECB0
accent
#E3035A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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