#C254CA#C254CA

#C254CA is a light, vivid purple. Relative luminance 0.221; OKLCH L 63.0% C 0.200 H 324.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C254CA
RGBrgb(194, 84, 202)
HSLhsl(296, 53%, 56%)
HSVhsv(296, 58%, 79%)
CMYKcmyk(4%, 58.4%, 0%, 20.8%)
CIE-LABlab(54.11, 59.84, -41.46)
CIE-LCHlch(54.11, 72.80, 325.28°)
OKLaboklab(62.97% 0.1633 -0.1147)
OKLCHoklch(62.97% 0.2 324.9)
XYZxyz(36.0783, 22.0763, 58.2265)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C254CA #5CCA54
analogous
#8754CA #C254CA #CA5497
triadic
#C254CA #CAC254 #54CAC2
tetradic
#C254CA #CA8754 #5CCA54 #5497CA
square
#C254CA #CA8754 #5CCA54 #5497CA
split-complementary
#C254CA #97CA54 #54CA87
monochromatic
#77277D #A435AC #C254CA #D383D8 #E3B1E7

Accessibility & contrast

On white

3.88
#C254CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#C254CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C254CA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C254CA#FFFFFF#000000##000000
##C254CA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CE
Deuteranopia (green-blind)
#6886C7
Tritanopia (blue-blind)
#C66487
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c254ca;
/* rgb */ color: rgb(194, 84, 202);
/* oklch */ color: oklch(63.0% 0.200 324.9);
Tailwind
colors: {
  custom: {
    50: '#d78ada',
    500: '#c254ca',
    950: '#000000',
  },
}
SCSS
$custom: #c254ca;
$custom-light: #d78ada;
$custom-dark: #000000;
JSON
{
  "hex": "#c254ca",
  "rgb": {
    "r": 194,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 295.932,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62971,
    "c": 0.19958,
    "h": 324.9
  },
  "luminance": 0.22074
}

Semantic roles & 50–950 ramp

primary
#C254CA
secondary
#A8D5A5
accent
#DC4C55
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C254CA

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

Preview Lab → · Contrast checker → · Palette generator →

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