#C054DF#C054DF

#C054DF is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.218 H 318.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C054DF
RGBrgb(192, 84, 223)
HSLhsl(287, 68%, 60%)
HSVhsv(287, 62%, 87%)
CMYKcmyk(13.9%, 62.3%, 0%, 12.5%)
CIE-LABlab(54.94, 63.27, -52.08)
CIE-LCHlch(54.94, 81.95, 320.54°)
OKLaboklab(63.88% 0.1618 -0.1457)
OKLCHoklch(63.88% 0.218 318)
XYZxyz(38.2260, 22.8764, 72.1998)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C054DF #73DF54
analogous
#7B54DF #C054DF #DF54B8
triadic
#C054DF #DFC054 #54DFC0
tetradic
#C054DF #DF7B54 #73DF54 #54B8DF
square
#C054DF #DF7B54 #73DF54 #54B8DF
split-complementary
#C054DF #B8DF54 #54DF7B
monochromatic
#7F1D9C #AA27CF #C054DF #D388E9 #E6BBF2

Accessibility & contrast

On white

3.77
#C054DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C054DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C054DF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C054DF#FFFFFF#000000##000000
##C054DF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE3
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#BF6C92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c054df;
/* rgb */ color: rgb(192, 84, 223);
/* oklch */ color: oklch(63.9% 0.218 318.0);
Tailwind
colors: {
  custom: {
    50: '#d68be9',
    500: '#c054df',
    950: '#000000',
  },
}
SCSS
$custom: #c054df;
$custom-light: #d68be9;
$custom-dark: #000000;
JSON
{
  "hex": "#c054df",
  "rgb": {
    "r": 192,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 286.619,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63882,
    "c": 0.21773,
    "h": 318
  },
  "luminance": 0.22875
}

Semantic roles & 50–950 ramp

primary
#C054DF
secondary
#B9E2AD
accent
#D0153F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C054DF

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

Preview Lab → · Contrast checker → · Palette generator →

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