#C54EF7#C54EF7

#C54EF7 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.3% C 0.249 H 314.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C54EF7
RGBrgb(197, 78, 247)
HSLhsl(282, 91%, 64%)
HSVhsv(282, 68%, 97%)
CMYKcmyk(20.2%, 68.4%, 0%, 3.1%)
CIE-LABlab(56.12, 71.57, -63.61)
CIE-LCHlch(56.12, 95.75, 318.37°)
OKLaboklab(65.32% 0.1732 -0.1792)
OKLCHoklch(65.32% 0.249 314)
XYZxyz(42.5360, 24.0359, 90.3764)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EF7 #80F74E
analogous
#704EF7 #C54EF7 #F74ED4
triadic
#C54EF7 #F7C54E #4EF7C5
tetradic
#C54EF7 #F7704E #80F74E #4ED4F7
square
#C54EF7 #F7704E #80F74E #4ED4F7
split-complementary
#C54EF7 #D4F74E #4EF770
monochromatic
#8B09C2 #B213F4 #C54EF7 #D889FA #EBC3FC

Accessibility & contrast

On white

3.62
#C54EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C54EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EF7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EF7#FFFFFF#000000##000000
##C54EF71.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#4489F3
Tritanopia (blue-blind)
#C0719D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c54ef7;
/* rgb */ color: rgb(197, 78, 247);
/* oklch */ color: oklch(65.3% 0.249 314.0);
Tailwind
colors: {
  custom: {
    50: '#db89fb',
    500: '#c54ef7',
    950: '#000000',
  },
}
SCSS
$custom: #c54ef7;
$custom-light: #db89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ef7",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 282.249,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.24925,
    "h": 314
  },
  "luminance": 0.24034
}

Semantic roles & 50–950 ramp

primary
#C54EF7
secondary
#C4EEB3
accent
#E60044
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C54EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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