#B24FF2#B24FF2

#B24FF2 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.8% C 0.237 H 309.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B24FF2
RGBrgb(178, 79, 242)
HSLhsl(276, 86%, 63%)
HSVhsv(276, 67%, 95%)
CMYKcmyk(26.4%, 67.4%, 0%, 5.1%)
CIE-LABlab(53.46, 66.28, -65.24)
CIE-LCHlch(53.46, 93.01, 315.45°)
OKLaboklab(62.79% 0.1493 -0.1846)
OKLCHoklch(62.79% 0.237 309)
XYZxyz(37.1799, 21.4684, 86.1724)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FF2 #8FF24F
analogous
#614FF2 #B24FF2 #F24FE0
triadic
#B24FF2 #F2B24F #4FF2B2
tetradic
#B24FF2 #F2614F #8FF24F #4FE0F2
square
#B24FF2 #F2614F #8FF24F #4FE0F2
split-complementary
#B24FF2 #E0F24F #4FF261
monochromatic
#760EB9 #9916EE #B24FF2 #CB88F6 #E4C1FA

Accessibility & contrast

On white

3.97
#B24FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B24FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FF2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FF2#FFFFFF#000000##000000
##B24FF21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#2F81EE
Tritanopia (blue-blind)
#A9729B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b24ff2;
/* rgb */ color: rgb(178, 79, 242);
/* oklch */ color: oklch(62.8% 0.237 309.0);
Tailwind
colors: {
  custom: {
    50: '#ce87f7',
    500: '#b24ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b24ff2;
$custom-light: #ce87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ff2",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 276.442,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.23742,
    "h": 309
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#B24FF2
secondary
#C8ECB1
accent
#E3035B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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