#C954F3#C954F3

#C954F3 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.2% C 0.240 H 315.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C954F3
RGBrgb(201, 84, 243)
HSLhsl(284, 87%, 64%)
HSVhsv(284, 65%, 95%)
CMYKcmyk(17.3%, 65.4%, 0%, 4.7%)
CIE-LABlab(57.30, 69.17, -59.46)
CIE-LCHlch(57.30, 91.22, 319.32°)
OKLaboklab(66.2% 0.172 -0.167)
OKLCHoklch(66.2% 0.24 315.8)
XYZxyz(43.4329, 25.2308, 87.3588)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C954F3 #7EF354
analogous
#7A54F3 #C954F3 #F354CE
triadic
#C954F3 #F3C954 #54F3C9
tetradic
#C954F3 #F37A54 #7EF354 #54CEF3
square
#C954F3 #F37A54 #7EF354 #54CEF3
split-complementary
#C954F3 #CEF354 #54F37A
monochromatic
#900DBF #B71BEF #C954F3 #DB8DF7 #EDC6FB

Accessibility & contrast

On white

3.47
#C954F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#C954F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C954F3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C954F3#FFFFFF#000000##000000
##C954F31.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F8
Deuteranopia (green-blind)
#538DEF
Tritanopia (blue-blind)
#C6729D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c954f3;
/* rgb */ color: rgb(201, 84, 243);
/* oklch */ color: oklch(66.2% 0.240 315.8);
Tailwind
colors: {
  custom: {
    50: '#dd8cf8',
    500: '#c954f3',
    950: '#000000',
  },
}
SCSS
$custom: #c954f3;
$custom-light: #dd8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#c954f3",
  "rgb": {
    "r": 201,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 284.151,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.23974,
    "h": 315.8
  },
  "luminance": 0.25229
}

Semantic roles & 50–950 ramp

primary
#C954F3
secondary
#C4EDB6
accent
#E3023E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #C954F3

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

Preview Lab → · Contrast checker → · Palette generator →

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