#B24FC7#B24FC7

#B24FC7 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.1% C 0.196 H 320.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B24FC7
RGBrgb(178, 79, 199)
HSLhsl(290, 52%, 55%)
HSVhsv(290, 60%, 78%)
CMYKcmyk(10.6%, 60.3%, 0%, 22%)
CIE-LABlab(50.90, 57.52, -44.96)
CIE-LCHlch(50.90, 73.01, 321.99°)
OKLaboklab(60.13% 0.1508 -0.1253)
OKLCHoklch(60.13% 0.196 320.3)
XYZxyz(31.4636, 19.1819, 56.0669)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FC7 #64C74F
analogous
#764FC7 #B24FC7 #C74FA0
triadic
#B24FC7 #C7B24F #4FC7B2
tetradic
#B24FC7 #C7764F #64C74F #4FA0C7
square
#B24FC7 #C7764F #64C74F #4FA0C7
split-complementary
#B24FC7 #A0C74F #4FC776
monochromatic
#682676 #9134A4 #B24FC7 #C67DD6 #DBACE5

Accessibility & contrast

On white

4.34
#B24FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B24FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FC7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FC7#FFFFFF#000000##000000
##B24FC71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3372CB
Deuteranopia (green-blind)
#597DC4
Tritanopia (blue-blind)
#B36284
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b24fc7;
/* rgb */ color: rgb(178, 79, 199);
/* oklch */ color: oklch(60.1% 0.196 320.3);
Tailwind
colors: {
  custom: {
    50: '#cc86d8',
    500: '#b24fc7',
    950: '#000000',
  },
}
SCSS
$custom: #b24fc7;
$custom-light: #cc86d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fc7",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 289.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60127,
    "c": 0.19604,
    "h": 320.3
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#B24FC7
secondary
#A8D2A0
accent
#DB4D66
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B24FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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