#C956EF#C956EF

#C956EF is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.234 H 316.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#C956EF
RGBrgb(201, 86, 239)
HSLhsl(285, 83%, 64%)
HSVhsv(285, 64%, 94%)
CMYKcmyk(15.9%, 64%, 0%, 6.3%)
CIE-LABlab(57.37, 67.55, -57.12)
CIE-LCHlch(57.37, 88.46, 319.78°)
OKLaboklab(66.18% 0.17 -0.1602)
OKLCHoklch(66.18% 0.234 316.7)
XYZxyz(42.9928, 25.3067, 84.2646)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C956EF #7CEF56
analogous
#7C56EF #C956EF #EF56C8
triadic
#C956EF #EFC956 #56EFC9
tetradic
#C956EF #EF7C56 #7CEF56 #56C8EF
square
#C956EF #EF7C56 #7CEF56 #56C8EF
split-complementary
#C956EF #C8EF56 #56EF7C
monochromatic
#8F12B9 #B71EEA #C956EF #DB8EF4 #EDC6FA

Accessibility & contrast

On white

3.46
#C956EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C956EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C956EF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C956EF#FFFFFF#000000##000000
##C956EF1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A83F4
Deuteranopia (green-blind)
#588DEB
Tritanopia (blue-blind)
#C7729B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c956ef;
/* rgb */ color: rgb(201, 86, 239);
/* oklch */ color: oklch(66.2% 0.234 316.7);
Tailwind
colors: {
  custom: {
    50: '#dd8df5',
    500: '#c956ef',
    950: '#000000',
  },
}
SCSS
$custom: #c956ef;
$custom-light: #dd8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c956ef",
  "rgb": {
    "r": 201,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 285.098,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66178,
    "c": 0.23353,
    "h": 316.7
  },
  "luminance": 0.25305
}

Semantic roles & 50–950 ramp

primary
#C956EF
secondary
#C3EBB5
accent
#DF063C
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #C956EF

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

Preview Lab → · Contrast checker → · Palette generator →

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