#C54DEC#C54DEC

#C54DEC is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.5% C 0.241 H 316.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C54DEC
RGBrgb(197, 77, 236)
HSLhsl(285, 81%, 61%)
HSVhsv(285, 67%, 93%)
CMYKcmyk(16.5%, 67.4%, 0%, 7.5%)
CIE-LABlab(55.31, 69.84, -58.77)
CIE-LCHlch(55.31, 91.28, 319.92°)
OKLaboklab(64.53% 0.175 -0.165)
OKLCHoklch(64.53% 0.241 316.7)
XYZxyz(40.8179, 23.2358, 81.6755)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DEC #74EC4D
analogous
#764DEC #C54DEC #EC4DC4
triadic
#C54DEC #ECC54D #4DECC5
tetradic
#C54DEC #EC764D #74EC4D #4DC4EC
square
#C54DEC #EC764D #74EC4D #4DC4EC
split-complementary
#C54DEC #C4EC4D #4DEC76
monochromatic
#8612AC #B218E4 #C54DEC #D784F2 #E9BCF8

Accessibility & contrast

On white

3.72
#C54DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#C54DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DEC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DEC#FFFFFF#000000##000000
##C54DEC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#C36C97
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c54dec;
/* rgb */ color: rgb(197, 77, 236);
/* oklch */ color: oklch(64.5% 0.241 316.7);
Tailwind
colors: {
  custom: {
    50: '#db88f3',
    500: '#c54dec',
    950: '#000000',
  },
}
SCSS
$custom: #c54dec;
$custom-light: #db88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dec",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 285.283,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.24057,
    "h": 316.7
  },
  "luminance": 0.23234
}

Semantic roles & 50–950 ramp

primary
#C54DEC
secondary
#BBE8AD
accent
#DD083D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C54DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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