#B24CEB#B24CEB

#B24CEB is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 62.0% C 0.234 H 310.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B24CEB
RGBrgb(178, 76, 235)
HSLhsl(278, 80%, 61%)
HSVhsv(278, 68%, 92%)
CMYKcmyk(24.3%, 67.7%, 0%, 7.8%)
CIE-LABlab(52.55, 66.10, -62.79)
CIE-LCHlch(52.55, 91.17, 316.47°)
OKLaboklab(62% 0.1531 -0.1774)
OKLCHoklch(62% 0.234 310.8)
XYZxyz(35.9371, 20.6328, 80.6706)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CEB #85EB4C
analogous
#624CEB #B24CEB #EB4CD4
triadic
#B24CEB #EBB24C #4CEBB2
tetradic
#B24CEB #EB624C #85EB4C #4CD4EB
square
#B24CEB #EB624C #85EB4C #4CD4EB
split-complementary
#B24CEB #D4EB4C #4CEB62
monochromatic
#7413AA #9919E1 #B24CEB #CA83F1 #E1BAF7

Accessibility & contrast

On white

4.10
#B24CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B24CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CEB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CEB#FFFFFF#000000##000000
##B24CEB1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#AB6E96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24ceb;
/* rgb */ color: rgb(178, 76, 235);
/* oklch */ color: oklch(62.0% 0.234 310.8);
Tailwind
colors: {
  custom: {
    50: '#cd85f2',
    500: '#b24ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b24ceb;
$custom-light: #cd85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ceb",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 278.491,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.23433,
    "h": 310.8
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#B24CEB
secondary
#C1E7AB
accent
#DC0955
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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