#C54FDB#C54FDB

#C54FDB is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.223 H 321.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C54FDB
RGBrgb(197, 79, 219)
HSLhsl(291, 66%, 58%)
HSVhsv(291, 64%, 86%)
CMYKcmyk(10%, 63.9%, 0%, 14.1%)
CIE-LABlab(54.64, 65.83, -50.27)
CIE-LCHlch(54.64, 82.83, 322.63°)
OKLaboklab(63.73% 0.1733 -0.1402)
OKLCHoklch(63.73% 0.223 321)
XYZxyz(38.6067, 22.5787, 69.3287)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FDB #65DB4F
analogous
#7F4FDB #C54FDB #DB4FAB
triadic
#C54FDB #DBC54F #4FDBC5
tetradic
#C54FDB #DB7F4F #65DB4F #4FABDB
square
#C54FDB #DB7F4F #65DB4F #4FABDB
split-complementary
#C54FDB #ABDB4F #4FDB7F
monochromatic
#801E92 #AC28C5 #C54FDB #D682E5 #E6B5F0

Accessibility & contrast

On white

3.81
#C54FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C54FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FDB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FDB#FFFFFF#000000##000000
##C54FDB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#5E87D7
Tritanopia (blue-blind)
#C7668E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c54fdb;
/* rgb */ color: rgb(197, 79, 219);
/* oklch */ color: oklch(63.7% 0.223 321.0);
Tailwind
colors: {
  custom: {
    50: '#da88e7',
    500: '#c54fdb',
    950: '#000000',
  },
}
SCSS
$custom: #c54fdb;
$custom-light: #da88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fdb",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 290.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63729,
    "c": 0.22296,
    "h": 321
  },
  "luminance": 0.22577
}

Semantic roles & 50–950 ramp

primary
#C54FDB
secondary
#B0DFA7
accent
#E93F5A
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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