#C956E7#C956E7

#C956E7 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.226 H 318.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#C956E7
RGBrgb(201, 86, 231)
HSLhsl(288, 75%, 62%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(13%, 62.8%, 0%, 9.4%)
CIE-LABlab(56.92, 66.02, -53.36)
CIE-LCHlch(56.92, 84.89, 321.05°)
OKLaboklab(65.71% 0.1701 -0.1492)
OKLCHoklch(65.71% 0.226 318.7)
XYZxyz(41.8371, 24.8444, 78.1775)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C956E7 #74E756
analogous
#8056E7 #C956E7 #E756BD
triadic
#C956E7 #E7C956 #56E7C9
tetradic
#C956E7 #E78056 #74E756 #56BDE7
square
#C956E7 #E78056 #74E756 #56BDE7
split-complementary
#C956E7 #BDE756 #56E780
monochromatic
#8C18AA #B820DF #C956E7 #DA8CEF #EBC1F6

Accessibility & contrast

On white

3.52
#C956E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C956E7#FFFFFF#000000##000000
##C956E71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EB
Deuteranopia (green-blind)
#5E8CE3
Tritanopia (blue-blind)
#C96F97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c956e7;
/* rgb */ color: rgb(201, 86, 231);
/* oklch */ color: oklch(65.7% 0.226 318.7);
Tailwind
colors: {
  custom: {
    50: '#dd8def',
    500: '#c956e7',
    950: '#000000',
  },
}
SCSS
$custom: #c956e7;
$custom-light: #dd8def;
$custom-dark: #000000;
JSON
{
  "hex": "#c956e7",
  "rgb": {
    "r": 201,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 287.586,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65709,
    "c": 0.22621,
    "h": 318.7
  },
  "luminance": 0.24843
}

Semantic roles & 50–950 ramp

primary
#C956E7
secondary
#BDE7B2
accent
#D70E38
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C956E7

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

Preview Lab → · Contrast checker → · Palette generator →

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