#B24FE3#B24FE3

#B24FE3 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.223 H 312.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B24FE3
RGBrgb(178, 79, 227)
HSLhsl(280, 73%, 60%)
HSVhsv(280, 65%, 89%)
CMYKcmyk(21.6%, 65.2%, 0%, 11%)
CIE-LABlab(52.51, 63.13, -58.34)
CIE-LCHlch(52.51, 85.96, 317.26°)
OKLaboklab(61.81% 0.1505 -0.1644)
OKLCHoklch(61.81% 0.223 312.5)
XYZxyz(35.0187, 20.6039, 74.7904)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FE3 #80E34F
analogous
#684FE3 #B24FE3 #E34FCA
triadic
#B24FE3 #E3B24F #4FE3B2
tetradic
#B24FE3 #E3684F #80E34F #4FCAE3
square
#B24FE3 #E3684F #80E34F #4FCAE3
split-complementary
#B24FE3 #CAE34F #4FE368
monochromatic
#72199E #9822D3 #B24FE3 #C984EB #E0B9F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24FE3#FFFFFF#000000##000000
##B24FE31.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)
#0078E7
Deuteranopia (green-blind)
#437FE0
Tritanopia (blue-blind)
#AD6C93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b24fe3;
/* rgb */ color: rgb(178, 79, 227);
/* oklch */ color: oklch(61.8% 0.223 312.5);
Tailwind
colors: {
  custom: {
    50: '#cd87ec',
    500: '#b24fe3',
    950: '#000000',
  },
}
SCSS
$custom: #b24fe3;
$custom-light: #cd87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fe3",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 280.135,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.22285,
    "h": 312.5
  },
  "luminance": 0.20603
}

Semantic roles & 50–950 ramp

primary
#B24FE3
secondary
#BDE3AA
accent
#EF3975
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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