#C954ED#C954ED

#C954ED is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.234 H 317.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#C954ED
RGBrgb(201, 84, 237)
HSLhsl(286, 81%, 63%)
HSVhsv(286, 65%, 93%)
CMYKcmyk(15.2%, 64.6%, 0%, 7.1%)
CIE-LABlab(56.95, 68.02, -56.67)
CIE-LCHlch(56.95, 88.53, 320.20°)
OKLaboklab(65.84% 0.1722 -0.1588)
OKLCHoklch(65.84% 0.234 317.3)
XYZxyz(42.5416, 24.8743, 82.6647)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C954ED #78ED54
analogous
#7C54ED #C954ED #ED54C5
triadic
#C954ED #EDC954 #54EDC9
tetradic
#C954ED #ED7C54 #78ED54 #54C5ED
square
#C954ED #ED7C54 #78ED54 #54C5ED
split-complementary
#C954ED #C5ED54 #54ED7C
monochromatic
#8E13B4 #B81DE7 #C954ED #DA8BF3 #ECC3F9

Accessibility & contrast

On white

3.51
#C954ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#C954ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C954ED
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C954ED#FFFFFF#000000##000000
##C954ED1.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F2
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#C8709A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c954ed;
/* rgb */ color: rgb(201, 84, 237);
/* oklch */ color: oklch(65.8% 0.234 317.3);
Tailwind
colors: {
  custom: {
    50: '#dd8cf3',
    500: '#c954ed',
    950: '#000000',
  },
}
SCSS
$custom: #c954ed;
$custom-light: #dd8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c954ed",
  "rgb": {
    "r": 201,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 285.882,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65838,
    "c": 0.23429,
    "h": 317.3
  },
  "luminance": 0.24873
}

Semantic roles & 50–950 ramp

primary
#C954ED
secondary
#C0EAB3
accent
#DD083A
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #C954ED

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

Preview Lab → · Contrast checker → · Palette generator →

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