#B24BE9#B24BE9

#B24BE9 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.8% C 0.234 H 311.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B24BE9
RGBrgb(178, 75, 233)
HSLhsl(279, 78%, 60%)
HSVhsv(279, 68%, 91%)
CMYKcmyk(23.6%, 67.8%, 0%, 8.6%)
CIE-LABlab(52.27, 66.11, -62.12)
CIE-LCHlch(52.27, 90.71, 316.78°)
OKLaboklab(61.76% 0.1543 -0.1754)
OKLCHoklch(61.76% 0.234 311.3)
XYZxyz(35.5814, 20.3812, 79.1346)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BE9 #82E94B
analogous
#634BE9 #B24BE9 #E94BD1
triadic
#B24BE9 #E9B24B #4BE9B2
tetradic
#B24BE9 #E9634B #82E94B #4BD1E9
square
#B24BE9 #E9634B #82E94B #4BD1E9
split-complementary
#B24BE9 #D1E94B #4BE963
monochromatic
#7314A5 #991BDC #B24BE9 #C982F0 #E1B8F6

Accessibility & contrast

On white

4.14
#B24BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B24BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BE9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BE9#FFFFFF#000000##000000
##B24BE91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#377FE5
Tritanopia (blue-blind)
#AB6C95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24be9;
/* rgb */ color: rgb(178, 75, 233);
/* oklch */ color: oklch(61.8% 0.234 311.3);
Tailwind
colors: {
  custom: {
    50: '#cd85f1',
    500: '#b24be9',
    950: '#000000',
  },
}
SCSS
$custom: #b24be9;
$custom-light: #cd85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b24be9",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 279.114,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.23364,
    "h": 311.3
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#B24BE9
secondary
#BFE6AA
accent
#DA0B53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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