#B24CE6#B24CE6

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

Color values

HEX#B24CE6
RGBrgb(178, 76, 230)
HSLhsl(280, 75%, 60%)
HSVhsv(280, 67%, 90%)
CMYKcmyk(22.6%, 67%, 0%, 9.8%)
CIE-LABlab(52.23, 65.06, -60.49)
CIE-LCHlch(52.23, 88.84, 317.09°)
OKLaboklab(61.67% 0.1535 -0.1707)
OKLCHoklch(61.67% 0.23 312)
XYZxyz(35.2249, 20.3480, 76.9195)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CE6 #80E64C
analogous
#654CE6 #B24CE6 #E64CCD
triadic
#B24CE6 #E6B24C #4CE6B2
tetradic
#B24CE6 #E6654C #80E64C #4CCDE6
square
#B24CE6 #E6654C #80E64C #4CCDE6
split-complementary
#B24CE6 #CDE64C #4CE665
monochromatic
#7217A1 #981ED7 #B24CE6 #C982ED #E0B7F5

Accessibility & contrast

On white

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

On black

5.07
#B24CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CE6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CE6#FFFFFF#000000##000000
##B24CE61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#AC6C93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24ce6;
/* rgb */ color: rgb(178, 76, 230);
/* oklch */ color: oklch(61.7% 0.230 312.0);
Tailwind
colors: {
  custom: {
    50: '#cd85ef',
    500: '#b24ce6',
    950: '#000000',
  },
}
SCSS
$custom: #b24ce6;
$custom-light: #cd85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ce6",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 279.74,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.22955,
    "h": 312
  },
  "luminance": 0.20347
}

Semantic roles & 50–950 ramp

primary
#B24CE6
secondary
#BDE5A9
accent
#F23675
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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