#B24ECF#B24ECF

#B24ECF is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.205 H 317.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B24ECF
RGBrgb(178, 78, 207)
HSLhsl(287, 57%, 56%)
HSVhsv(287, 62%, 81%)
CMYKcmyk(14%, 62.3%, 0%, 18.8%)
CIE-LABlab(51.18, 59.53, -49.11)
CIE-LCHlch(51.18, 77.18, 320.48°)
OKLaboklab(60.47% 0.1522 -0.1374)
OKLCHoklch(60.47% 0.205 317.9)
XYZxyz(32.3454, 19.4201, 61.0640)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24ECF #6BCF4E
analogous
#714ECF #B24ECF #CF4EAB
triadic
#B24ECF #CFB24E #4ECFB2
tetradic
#B24ECF #CF714E #6BCF4E #4EABCF
square
#B24ECF #CF714E #6BCF4E #4EABCF
split-complementary
#B24ECF #ABCF4E #4ECF71
monochromatic
#6B2380 #9330B0 #B24ECF #C77EDC #DCAEE9

Accessibility & contrast

On white

4.30
#B24ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B24ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24ECF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24ECF#FFFFFF#000000##000000
##B24ECF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#B16488
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b24ecf;
/* rgb */ color: rgb(178, 78, 207);
/* oklch */ color: oklch(60.5% 0.205 317.9);
Tailwind
colors: {
  custom: {
    50: '#cc86de',
    500: '#b24ecf',
    950: '#000000',
  },
}
SCSS
$custom: #b24ecf;
$custom-light: #cc86de;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ecf",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 286.512,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.205,
    "h": 317.9
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#B24ECF
secondary
#AED7A2
accent
#E1476A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B24ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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