#C54CE1#C54CE1

#C54CE1 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.8% C 0.232 H 319.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C54CE1
RGBrgb(197, 76, 225)
HSLhsl(289, 71%, 59%)
HSVhsv(289, 66%, 88%)
CMYKcmyk(12.4%, 66.2%, 0%, 11.8%)
CIE-LABlab(54.53, 68.17, -53.84)
CIE-LCHlch(54.53, 86.86, 321.70°)
OKLaboklab(63.76% 0.1766 -0.1506)
OKLCHoklch(63.76% 0.232 319.5)
XYZxyz(39.1993, 22.4773, 73.4933)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CE1 #68E14C
analogous
#7B4CE1 #C54CE1 #E14CB3
triadic
#C54CE1 #E1C54C #4CE1C5
tetradic
#C54CE1 #E17B4C #68E14C #4CB3E1
square
#C54CE1 #E17B4C #68E14C #4CB3E1
split-complementary
#C54CE1 #B3E14C #4CE17B
monochromatic
#811A99 #AD22CD #C54CE1 #D680EA #E7B5F3

Accessibility & contrast

On white

3.82
#C54CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C54CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CE1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CE1#FFFFFF#000000##000000
##C54CE11.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#147AE5
Deuteranopia (green-blind)
#5787DD
Tritanopia (blue-blind)
#C56791
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c54ce1;
/* rgb */ color: rgb(197, 76, 225);
/* oklch */ color: oklch(63.8% 0.232 319.5);
Tailwind
colors: {
  custom: {
    50: '#da87eb',
    500: '#c54ce1',
    950: '#000000',
  },
}
SCSS
$custom: #c54ce1;
$custom-light: #da87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ce1",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 288.725,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63761,
    "c": 0.23207,
    "h": 319.5
  },
  "luminance": 0.22475
}

Semantic roles & 50–950 ramp

primary
#C54CE1
secondary
#B2E2A7
accent
#EE3A5C
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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