#B24FCB#B24FCB

#B24FCB is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.4% C 0.200 H 319.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B24FCB
RGBrgb(178, 79, 203)
HSLhsl(288, 54%, 55%)
HSVhsv(288, 61%, 80%)
CMYKcmyk(12.3%, 61.1%, 0%, 20.4%)
CIE-LABlab(51.12, 58.30, -46.91)
CIE-LCHlch(51.12, 74.83, 321.18°)
OKLaboklab(60.36% 0.1509 -0.131)
OKLCHoklch(60.36% 0.2 319)
XYZxyz(31.9342, 19.3701, 58.5450)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FCB #68CB4F
analogous
#744FCB #B24FCB #CB4FA6
triadic
#B24FCB #CBB24F #4FCBB2
tetradic
#B24FCB #CB744F #68CB4F #4FA6CB
square
#B24FCB #CB744F #68CB4F #4FA6CB
split-complementary
#B24FCB #A6CB4F #4FCB74
monochromatic
#6A247B #9232AA #B24FCB #C77ED9 #DBADE7

Accessibility & contrast

On white

4.31
#B24FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B24FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FCB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FCB#FFFFFF#000000##000000
##B24FCB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#B26386
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b24fcb;
/* rgb */ color: rgb(178, 79, 203);
/* oklch */ color: oklch(60.4% 0.200 319.0);
Tailwind
colors: {
  custom: {
    50: '#cc86db',
    500: '#b24fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b24fcb;
$custom-light: #cc86db;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fcb",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 287.903,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.19981,
    "h": 319
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#B24FCB
secondary
#ABD5A1
accent
#DE4A68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B24FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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