#B24BE8#B24BE8

#B24BE8 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.7% C 0.233 H 311.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B24BE8
RGBrgb(178, 75, 232)
HSLhsl(279, 77%, 60%)
HSVhsv(279, 68%, 91%)
CMYKcmyk(23.3%, 67.7%, 0%, 9%)
CIE-LABlab(52.20, 65.90, -61.66)
CIE-LCHlch(52.20, 90.25, 316.91°)
OKLaboklab(61.69% 0.1544 -0.1741)
OKLCHoklch(61.69% 0.233 311.6)
XYZxyz(35.4390, 20.3242, 78.3844)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BE8 #81E84B
analogous
#634BE8 #B24BE8 #E84BD0
triadic
#B24BE8 #E8B24B #4BE8B2
tetradic
#B24BE8 #E8634B #81E84B #4BD0E8
square
#B24BE8 #E8634B #81E84B #4BD0E8
split-complementary
#B24BE8 #D0E84B #4BE863
monochromatic
#7315A4 #991CDA #B24BE8 #C981EF #E0B8F6

Accessibility & contrast

On white

4.15
#B24BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B24BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BE8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BE8#FFFFFF#000000##000000
##B24BE81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#387EE4
Tritanopia (blue-blind)
#AB6C94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24be8;
/* rgb */ color: rgb(178, 75, 232);
/* oklch */ color: oklch(61.7% 0.233 311.6);
Tailwind
colors: {
  custom: {
    50: '#cd85f0',
    500: '#b24be8',
    950: '#000000',
  },
}
SCSS
$custom: #b24be8;
$custom-light: #cd85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24be8",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 279.363,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.23268,
    "h": 311.6
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#B24BE8
secondary
#BEE6A9
accent
#DA0C53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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