#B24BFC#B24BFC

#B24BFC is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 63.0% C 0.252 H 307.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B24BFC
RGBrgb(178, 75, 252)
HSLhsl(275, 97%, 64%)
HSVhsv(275, 70%, 99%)
CMYKcmyk(29.4%, 70.2%, 0%, 1.2%)
CIE-LABlab(53.52, 70.11, -70.71)
CIE-LCHlch(53.52, 99.58, 314.75°)
OKLaboklab(63.05% 0.152 -0.2007)
OKLCHoklch(63.05% 0.252 307.1)
XYZxyz(38.4431, 21.5259, 94.2063)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BFC #95FC4B
analogous
#5A4BFC #B24BFC #FC4BEE
triadic
#B24BFC #FCB24B #4BFCB2
tetradic
#B24BFC #FC5A4B #95FC4B #4BEEFC
square
#B24BFC #FC5A4B #95FC4B #4BEEFC
split-complementary
#B24BFC #EEFC4B #4BFC5A
monochromatic
#7703C9 #980FFB #B24BFC #CC87FD #E6C3FE

Accessibility & contrast

On white

3.96
#B24BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B24BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BFC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BFC#FFFFFF#000000##000000
##B24BFC1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0781F8
Tritanopia (blue-blind)
#A6749F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b24bfc;
/* rgb */ color: rgb(178, 75, 252);
/* oklch */ color: oklch(63.0% 0.252 307.1);
Tailwind
colors: {
  custom: {
    50: '#ce85fe',
    500: '#b24bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b24bfc;
$custom-light: #ce85fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bfc",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 274.915,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63047,
    "c": 0.25175,
    "h": 307.1
  },
  "luminance": 0.21525
}

Semantic roles & 50–950 ramp

primary
#B24BFC
secondary
#CCF0B3
accent
#E60060
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B24BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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