#B24ECB#B24ECB

#B24ECB is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.2% C 0.201 H 319.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B24ECB
RGBrgb(178, 78, 203)
HSLhsl(288, 55%, 55%)
HSVhsv(288, 62%, 80%)
CMYKcmyk(12.3%, 61.6%, 0%, 20.4%)
CIE-LABlab(50.95, 58.75, -47.18)
CIE-LCHlch(50.95, 75.35, 321.24°)
OKLaboklab(60.24% 0.1521 -0.1317)
OKLCHoklch(60.24% 0.201 319.1)
XYZxyz(31.8626, 19.2269, 58.5211)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24ECB #67CB4E
analogous
#734ECB #B24ECB #CB4EA5
triadic
#B24ECB #CBB24E #4ECBB2
tetradic
#B24ECB #CB734E #67CB4E #4EA5CB
square
#B24ECB #CB734E #67CB4E #4EA5CB
split-complementary
#B24ECB #A5CB4E #4ECB73
monochromatic
#69247B #9232AA #B24ECB #C77DD9 #DBADE7

Accessibility & contrast

On white

4.33
#B24ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B24ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24ECB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24ECB#FFFFFF#000000##000000
##B24ECB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73CF
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#B26385
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b24ecb;
/* rgb */ color: rgb(178, 78, 203);
/* oklch */ color: oklch(60.2% 0.201 319.1);
Tailwind
colors: {
  custom: {
    50: '#cc86db',
    500: '#b24ecb',
    950: '#000000',
  },
}
SCSS
$custom: #b24ecb;
$custom-light: #cc86db;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ecb",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 288,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60236,
    "c": 0.20122,
    "h": 319.1
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#B24ECB
secondary
#ABD5A0
accent
#DE4A67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B24ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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