#B24BF2#B24BF2

#B24BF2 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.4% C 0.242 H 309.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B24BF2
RGBrgb(178, 75, 242)
HSLhsl(277, 87%, 62%)
HSVhsv(277, 69%, 95%)
CMYKcmyk(26.4%, 69%, 0%, 5.1%)
CIE-LABlab(52.85, 67.99, -66.23)
CIE-LCHlch(52.85, 94.91, 315.75°)
OKLaboklab(62.36% 0.1533 -0.1875)
OKLCHoklch(62.36% 0.242 309.3)
XYZxyz(36.9000, 20.9086, 86.0791)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BF2 #8BF24B
analogous
#5F4BF2 #B24BF2 #F24BDE
triadic
#B24BF2 #F2B24B #4BF2B2
tetradic
#B24BF2 #F25F4B #8BF24B #4BDEF2
square
#B24BF2 #F25F4B #8BF24B #4BDEF2
split-complementary
#B24BF2 #DEF24B #4BF25F
monochromatic
#750DB5 #9A12EE #B24BF2 #CA84F6 #E3BDFA

Accessibility & contrast

On white

4.05
#B24BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B24BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BF2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BF2#FFFFFF#000000##000000
##B24BF21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#2880EE
Tritanopia (blue-blind)
#A97099
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b24bf2;
/* rgb */ color: rgb(178, 75, 242);
/* oklch */ color: oklch(62.4% 0.242 309.3);
Tailwind
colors: {
  custom: {
    50: '#ce85f7',
    500: '#b24bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b24bf2;
$custom-light: #ce85f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bf2",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 242
  },
  "hsl": {
    "h": 277.006,
    "s": 86.528,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62357,
    "c": 0.24221,
    "h": 309.3
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#B24BF2
secondary
#C5EBAE
accent
#E30259
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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