#C54CD7#C54CD7

#C54CD7 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.2% C 0.223 H 322.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C54CD7
RGBrgb(197, 76, 215)
HSLhsl(292, 63%, 57%)
HSVhsv(292, 65%, 84%)
CMYKcmyk(8.4%, 64.7%, 0%, 15.7%)
CIE-LABlab(53.97, 66.34, -49.06)
CIE-LCHlch(53.97, 82.51, 323.51°)
OKLaboklab(63.18% 0.1767 -0.1367)
OKLCHoklch(63.18% 0.223 322.3)
XYZxyz(37.8749, 21.9475, 66.5181)
Luminance0.2195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CD7 #5ED74C
analogous
#804CD7 #C54CD7 #D74CA4
triadic
#C54CD7 #D7C54C #4CD7C5
tetradic
#C54CD7 #D7804C #5ED74C #4CA4D7
square
#C54CD7 #D7804C #5ED74C #4CA4D7
split-complementary
#C54CD7 #A4D74C #4CD780
monochromatic
#7C1F8A #A92ABC #C54CD7 #D57EE2 #E5B0ED

Accessibility & contrast

On white

3.90
#C54CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#C54CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CD7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CD7#FFFFFF#000000##000000
##C54CD71.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DB
Deuteranopia (green-blind)
#5E86D4
Tritanopia (blue-blind)
#C7638B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c54cd7;
/* rgb */ color: rgb(197, 76, 215);
/* oklch */ color: oklch(63.2% 0.223 322.3);
Tailwind
colors: {
  custom: {
    50: '#da86e4',
    500: '#c54cd7',
    950: '#000000',
  },
}
SCSS
$custom: #c54cd7;
$custom-light: #da86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cd7",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 292.23,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63179,
    "c": 0.22337,
    "h": 322.3
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#C54CD7
secondary
#AADCA3
accent
#E64157
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C54CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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