#C954F2#C954F2

#C954F2 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.239 H 316.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#C954F2
RGBrgb(201, 84, 242)
HSLhsl(284, 86%, 64%)
HSVhsv(284, 65%, 95%)
CMYKcmyk(16.9%, 65.3%, 0%, 5.1%)
CIE-LABlab(57.24, 68.98, -59.00)
CIE-LCHlch(57.24, 90.77, 319.46°)
OKLaboklab(66.14% 0.172 -0.1657)
OKLCHoklch(66.14% 0.239 316.1)
XYZxyz(43.2823, 25.1706, 86.5657)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C954F2 #7DF254
analogous
#7A54F2 #C954F2 #F254CC
triadic
#C954F2 #F2C954 #54F2C9
tetradic
#C954F2 #F27A54 #7DF254 #54CCF2
square
#C954F2 #F27A54 #7DF254 #54CCF2
split-complementary
#C954F2 #CCF254 #54F27A
monochromatic
#900EBD #B71BEE #C954F2 #DB8DF6 #EDC6FB

Accessibility & contrast

On white

3.48
#C954F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#C954F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C954F2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C954F2#FFFFFF#000000##000000
##C954F21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0182F7
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#C6729C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c954f2;
/* rgb */ color: rgb(201, 84, 242);
/* oklch */ color: oklch(66.1% 0.239 316.1);
Tailwind
colors: {
  custom: {
    50: '#dd8cf7',
    500: '#c954f2',
    950: '#000000',
  },
}
SCSS
$custom: #c954f2;
$custom-light: #dd8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c954f2",
  "rgb": {
    "r": 201,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 284.43,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66139,
    "c": 0.23883,
    "h": 316.1
  },
  "luminance": 0.25169
}

Semantic roles & 50–950 ramp

primary
#C954F2
secondary
#C4EDB5
accent
#E2033D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #C954F2

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

Preview Lab → · Contrast checker → · Palette generator →

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