#B24CF7#B24CF7

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

Color values

HEX#B24CF7
RGBrgb(178, 76, 247)
HSLhsl(276, 91%, 63%)
HSVhsv(276, 69%, 97%)
CMYKcmyk(27.9%, 69.2%, 0%, 3.1%)
CIE-LABlab(53.33, 68.63, -68.24)
CIE-LCHlch(53.33, 96.78, 315.16°)
OKLaboklab(62.81% 0.1517 -0.1934)
OKLCHoklch(62.81% 0.246 308.1)
XYZxyz(37.7296, 21.3498, 90.1110)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CF7 #91F74C
analogous
#5C4CF7 #B24CF7 #F74CE7
triadic
#B24CF7 #F7B24C #4CF7B2
tetradic
#B24CF7 #F75C4C #91F74C #4CE7F7
square
#B24CF7 #F75C4C #91F74C #4CE7F7
split-complementary
#B24CF7 #E7F74C #4CF75C
monochromatic
#7609C0 #9911F4 #B24CF7 #CB87FA #E4C1FC

Accessibility & contrast

On white

3.98
#B24CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24CF7#FFFFFF#000000##000000
##B24CF71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#1F80F3
Tritanopia (blue-blind)
#A7729C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b24cf7;
/* rgb */ color: rgb(178, 76, 247);
/* oklch */ color: oklch(62.8% 0.246 308.1);
Tailwind
colors: {
  custom: {
    50: '#ce86fb',
    500: '#b24cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b24cf7;
$custom-light: #ce86fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cf7",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 275.789,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62805,
    "c": 0.24583,
    "h": 308.1
  },
  "luminance": 0.21349
}

Semantic roles & 50–950 ramp

primary
#B24CF7
secondary
#CAEEB1
accent
#E6005D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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