#B24CEC#B24CEC

#B24CEC is a light, highly saturated violet. Relative luminance 0.207; OKLCH L 62.1% C 0.235 H 310.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B24CEC
RGBrgb(178, 76, 236)
HSLhsl(278, 81%, 61%)
HSVhsv(278, 68%, 93%)
CMYKcmyk(24.6%, 67.8%, 0%, 7.5%)
CIE-LABlab(52.61, 66.31, -63.25)
CIE-LCHlch(52.61, 91.64, 316.35°)
OKLaboklab(62.06% 0.153 -0.1788)
OKLCHoklch(62.06% 0.235 310.6)
XYZxyz(36.0820, 20.6908, 81.4336)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CEC #86EC4C
analogous
#624CEC #B24CEC #EC4CD6
triadic
#B24CEC #ECB24C #4CECB2
tetradic
#B24CEC #EC624C #86EC4C #4CD6EC
square
#B24CEC #EC624C #86EC4C #4CD6EC
split-complementary
#B24CEC #D6EC4C #4CEC62
monochromatic
#7412AB #9918E3 #B24CEC #CA83F2 #E2BBF8

Accessibility & contrast

On white

4.09
#B24CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B24CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CEC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CEC#FFFFFF#000000##000000
##B24CEC1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#AA6E96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b24cec;
/* rgb */ color: rgb(178, 76, 236);
/* oklch */ color: oklch(62.1% 0.235 310.6);
Tailwind
colors: {
  custom: {
    50: '#ce85f3',
    500: '#b24cec',
    950: '#000000',
  },
}
SCSS
$custom: #b24cec;
$custom-light: #ce85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cec",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 278.25,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62062,
    "c": 0.23528,
    "h": 310.6
  },
  "luminance": 0.2069
}

Semantic roles & 50–950 ramp

primary
#B24CEC
secondary
#C2E8AC
accent
#DD0855
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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