#B24BED#B24BED

#B24BED is a light, highly saturated violet. Relative luminance 0.206; OKLCH L 62.0% C 0.237 H 310.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B24BED
RGBrgb(178, 75, 237)
HSLhsl(278, 82%, 61%)
HSVhsv(278, 68%, 93%)
CMYKcmyk(24.9%, 68.4%, 0%, 7.1%)
CIE-LABlab(52.52, 66.94, -63.95)
CIE-LCHlch(52.52, 92.58, 316.31°)
OKLaboklab(62.02% 0.1539 -0.1808)
OKLCHoklch(62.02% 0.237 310.4)
XYZxyz(36.1593, 20.6123, 82.1781)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BED #86ED4B
analogous
#614BED #B24BED #ED4BD7
triadic
#B24BED #EDB24B #4BEDB2
tetradic
#B24BED #ED614B #86ED4B #4BD7ED
square
#B24BED #ED614B #86ED4B #4BD7ED
split-complementary
#B24BED #D7ED4B #4BED61
monochromatic
#7411AC #9917E4 #B24BED #CA83F3 #E2BAF8

Accessibility & contrast

On white

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

On black

5.12
#B24BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BED
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BED#FFFFFF#000000##000000
##B24BED1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#AA6E97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24bed;
/* rgb */ color: rgb(178, 75, 237);
/* oklch */ color: oklch(62.0% 0.237 310.4);
Tailwind
colors: {
  custom: {
    50: '#ce85f4',
    500: '#b24bed',
    950: '#000000',
  },
}
SCSS
$custom: #b24bed;
$custom-light: #ce85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bed",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 237
  },
  "hsl": {
    "h": 278.148,
    "s": 81.818,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62021,
    "c": 0.23745,
    "h": 310.4
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

primary
#B24BED
secondary
#C2E8AB
accent
#DE0756
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24BED

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

Preview Lab → · Contrast checker → · Palette generator →

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