#C24FBA#C24FBA

#C24FBA is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.6% C 0.193 H 330.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C24FBA
RGBrgb(194, 79, 186)
HSLhsl(304, 49%, 54%)
HSVhsv(304, 59%, 76%)
CMYKcmyk(0%, 59.3%, 4.1%, 23.9%)
CIE-LABlab(52.52, 59.27, -34.75)
CIE-LCHlch(52.52, 68.71, 329.62°)
OKLaboklab(61.56% 0.168 -0.0953)
OKLCHoklch(61.56% 0.193 330.4)
XYZxyz(33.9068, 20.6088, 48.6369)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FBA #4FC257
analogous
#904FC2 #C24FBA #C24F80
triadic
#C24FBA #BAC24F #4FBAC2
tetradic
#C24FBA #C2904F #4FC257 #4F80C2
square
#C24FBA #C2904F #4FC257 #4F80C2
split-complementary
#C24FBA #80C24F #4FC290
monochromatic
#70276B #9D3796 #C24FBA #D27CCC #E2AADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C24FBA#FFFFFF#000000##000000
##C24FBA1.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)
#4773BD
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#C95A7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c24fba;
/* rgb */ color: rgb(194, 79, 186);
/* oklch */ color: oklch(61.6% 0.193 330.4);
Tailwind
colors: {
  custom: {
    50: '#d787cf',
    500: '#c24fba',
    950: '#000000',
  },
}
SCSS
$custom: #c24fba;
$custom-light: #d787cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fba",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 304.174,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61558,
    "c": 0.19318,
    "h": 330.4
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#C24FBA
secondary
#9ECFA1
accent
#D85950
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C24FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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