#B24FEA#B24FEA

#B24FEA is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.3% C 0.230 H 310.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B24FEA
RGBrgb(178, 79, 234)
HSLhsl(278, 79%, 61%)
HSVhsv(278, 66%, 92%)
CMYKcmyk(23.9%, 66.2%, 0%, 8.2%)
CIE-LABlab(52.95, 64.59, -61.58)
CIE-LCHlch(52.95, 89.24, 316.37°)
OKLaboklab(62.26% 0.15 -0.1739)
OKLCHoklch(62.26% 0.23 310.8)
XYZxyz(36.0045, 20.9983, 79.9823)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FEA #87EA4F
analogous
#654FEA #B24FEA #EA4FD4
triadic
#B24FEA #EAB24F #4FEAB2
tetradic
#B24FEA #EA654F #87EA4F #4FD4EA
square
#B24FEA #EA654F #87EA4F #4FD4EA
split-complementary
#B24FEA #D4EA4F #4FEA65
monochromatic
#7414AA #991BE1 #B24FEA #CA86F1 #E2BCF7

Accessibility & contrast

On white

4.04
#B24FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B24FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FEA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FEA#FFFFFF#000000##000000
##B24FEA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#3B80E7
Tritanopia (blue-blind)
#AB6F96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b24fea;
/* rgb */ color: rgb(178, 79, 234);
/* oklch */ color: oklch(62.3% 0.230 310.8);
Tailwind
colors: {
  custom: {
    50: '#cd87f1',
    500: '#b24fea',
    950: '#000000',
  },
}
SCSS
$custom: #b24fea;
$custom-light: #cd87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fea",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 278.323,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62264,
    "c": 0.22964,
    "h": 310.8
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#B24FEA
secondary
#C2E7AD
accent
#DB0B56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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