#C54FBE#C54FBE

#C54FBE is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.2% C 0.198 H 330.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C54FBE
RGBrgb(197, 79, 190)
HSLhsl(304, 50%, 54%)
HSVhsv(304, 60%, 77%)
CMYKcmyk(0%, 59.9%, 3.6%, 22.7%)
CIE-LABlab(53.15, 60.72, -36.04)
CIE-LCHlch(53.15, 70.62, 329.31°)
OKLaboklab(62.17% 0.1717 -0.099)
OKLCHoklch(62.17% 0.198 330)
XYZxyz(35.1159, 21.1824, 50.9443)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FBE #4FC556
analogous
#914FC5 #C54FBE #C54F83
triadic
#C54FBE #BEC54F #4FBEC5
tetradic
#C54FBE #C5914F #4FC556 #4F83C5
square
#C54FBE #C5914F #4FC556 #4F83C5
split-complementary
#C54FBE #83C54F #4FC591
monochromatic
#74266F #A2359B #C54FBE #D47DCF #E3ABE0

Accessibility & contrast

On white

4.01
#C54FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#C54FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FBE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FBE#FFFFFF#000000##000000
##C54FBE1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4675C1
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#CC5B7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54fbe;
/* rgb */ color: rgb(197, 79, 190);
/* oklch */ color: oklch(62.2% 0.198 330.0);
Tailwind
colors: {
  custom: {
    50: '#da87d2',
    500: '#c54fbe',
    950: '#000000',
  },
}
SCSS
$custom: #c54fbe;
$custom-light: #da87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fbe",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 303.559,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62168,
    "c": 0.19823,
    "h": 330
  },
  "luminance": 0.2118
}

Semantic roles & 50–950 ramp

primary
#C54FBE
secondary
#9FD1A2
accent
#DA564E
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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