#B24FE5#B24FE5

#B24FE5 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.9% C 0.225 H 312.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B24FE5
RGBrgb(178, 79, 229)
HSLhsl(280, 74%, 60%)
HSVhsv(280, 66%, 90%)
CMYKcmyk(22.3%, 65.5%, 0%, 10.2%)
CIE-LABlab(52.64, 63.55, -59.27)
CIE-LCHlch(52.64, 86.90, 316.99°)
OKLaboklab(61.94% 0.1504 -0.1671)
OKLCHoklch(61.94% 0.225 312)
XYZxyz(35.2964, 20.7150, 76.2526)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FE5 #82E54F
analogous
#674FE5 #B24FE5 #E54FCD
triadic
#B24FE5 #E5B24F #4FE5B2
tetradic
#B24FE5 #E5674F #82E54F #4FCDE5
square
#B24FE5 #E5674F #82E54F #4FCDE5
split-complementary
#B24FE5 #CDE54F #4FE567
monochromatic
#7318A2 #9920D7 #B24FE5 #C984ED #E1BAF5

Accessibility & contrast

On white

4.08
#B24FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B24FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FE5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FE5#FFFFFF#000000##000000
##B24FE51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#4180E2
Tritanopia (blue-blind)
#AC6D94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b24fe5;
/* rgb */ color: rgb(178, 79, 229);
/* oklch */ color: oklch(61.9% 0.225 312.0);
Tailwind
colors: {
  custom: {
    50: '#cd87ee',
    500: '#b24fe5',
    950: '#000000',
  },
}
SCSS
$custom: #b24fe5;
$custom-light: #cd87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fe5",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 279.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.22479,
    "h": 312
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

primary
#B24FE5
secondary
#BFE5AB
accent
#D60F53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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