#C54CDF#C54CDF

#C54CDF is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.6% C 0.230 H 320.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C54CDF
RGBrgb(197, 76, 223)
HSLhsl(289, 70%, 59%)
HSVhsv(289, 66%, 87%)
CMYKcmyk(11.7%, 65.9%, 0%, 12.5%)
CIE-LABlab(54.42, 67.80, -52.89)
CIE-LCHlch(54.42, 85.99, 322.04°)
OKLaboklab(63.64% 0.1766 -0.1478)
OKLCHoklch(63.64% 0.23 320.1)
XYZxyz(38.9280, 22.3688, 72.0648)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CDF #66DF4C
analogous
#7B4CDF #C54CDF #DF4CAF
triadic
#C54CDF #DFC54C #4CDFC5
tetradic
#C54CDF #DF7B4C #66DF4C #4CAFDF
square
#C54CDF #DF7B4C #66DF4C #4CAFDF
split-complementary
#C54CDF #AFDF4C #4CDF7B
monochromatic
#801B96 #AC24CA #C54CDF #D680E8 #E7B4F2

Accessibility & contrast

On white

3.84
#C54CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#C54CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CDF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CDF#FFFFFF#000000##000000
##C54CDF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#197AE3
Deuteranopia (green-blind)
#5986DB
Tritanopia (blue-blind)
#C66690
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c54cdf;
/* rgb */ color: rgb(197, 76, 223);
/* oklch */ color: oklch(63.6% 0.230 320.1);
Tailwind
colors: {
  custom: {
    50: '#da87ea',
    500: '#c54cdf',
    950: '#000000',
  },
}
SCSS
$custom: #c54cdf;
$custom-light: #da87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cdf",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 289.388,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63643,
    "c": 0.23032,
    "h": 320.1
  },
  "luminance": 0.22367
}

Semantic roles & 50–950 ramp

primary
#C54CDF
secondary
#B1E0A6
accent
#EC3B5B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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