#C54EE7#C54EE7

#C54EE7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.235 H 317.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C54EE7
RGBrgb(197, 78, 231)
HSLhsl(287, 76%, 61%)
HSVhsv(287, 66%, 91%)
CMYKcmyk(14.7%, 66.2%, 0%, 9.4%)
CIE-LABlab(55.17, 68.48, -56.20)
CIE-LCHlch(55.17, 88.59, 320.63°)
OKLaboklab(64.33% 0.1742 -0.1575)
OKLCHoklch(64.33% 0.235 317.9)
XYZxyz(40.1721, 23.0903, 77.9266)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EE7 #70E74E
analogous
#794EE7 #C54EE7 #E74EBC
triadic
#C54EE7 #E7C54E #4EE7C5
tetradic
#C54EE7 #E7794E #70E74E #4EBCE7
square
#C54EE7 #E7794E #70E74E #4EBCE7
split-complementary
#C54EE7 #BCE74E #4EE779
monochromatic
#8516A4 #B01EDA #C54EE7 #D784EE #E8BAF6

Accessibility & contrast

On white

3.74
#C54EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#C54EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EE7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EE7#FFFFFF#000000##000000
##C54EE71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#057CEC
Deuteranopia (green-blind)
#5488E3
Tritanopia (blue-blind)
#C46A94
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c54ee7;
/* rgb */ color: rgb(197, 78, 231);
/* oklch */ color: oklch(64.3% 0.235 317.9);
Tailwind
colors: {
  custom: {
    50: '#da88ef',
    500: '#c54ee7',
    950: '#000000',
  },
}
SCSS
$custom: #c54ee7;
$custom-light: #da88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ee7",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 286.667,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64329,
    "c": 0.23489,
    "h": 317.9
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#C54EE7
secondary
#B8E5AB
accent
#D80D3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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