#C956F2#C956F2

#C956F2 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.236 H 316.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#C956F2
RGBrgb(201, 86, 242)
HSLhsl(284, 86%, 64%)
HSVhsv(284, 64%, 95%)
CMYKcmyk(16.9%, 64.5%, 0%, 5.1%)
CIE-LABlab(57.55, 68.13, -58.51)
CIE-LCHlch(57.55, 89.81, 319.34°)
OKLaboklab(66.36% 0.1699 -0.1642)
OKLCHoklch(66.36% 0.236 316)
XYZxyz(43.4397, 25.4855, 86.6181)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C956F2 #7FF256
analogous
#7B56F2 #C956F2 #F256CD
triadic
#C956F2 #F2C956 #56F2C9
tetradic
#C956F2 #F27B56 #7FF256 #56CDF2
square
#C956F2 #F27B56 #7FF256 #56CDF2
split-complementary
#C956F2 #CDF256 #56F27B
monochromatic
#910FBF #B71DEE #C956F2 #DB8FF6 #EDC8FB

Accessibility & contrast

On white

3.44
#C956F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#C956F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C956F2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C956F2#FFFFFF#000000##000000
##C956F21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1083F7
Deuteranopia (green-blind)
#568DEE
Tritanopia (blue-blind)
#C6739D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c956f2;
/* rgb */ color: rgb(201, 86, 242);
/* oklch */ color: oklch(66.4% 0.236 316.0);
Tailwind
colors: {
  custom: {
    50: '#dd8df7',
    500: '#c956f2',
    950: '#000000',
  },
}
SCSS
$custom: #c956f2;
$custom-light: #dd8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#c956f2",
  "rgb": {
    "r": 201,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 284.231,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66358,
    "c": 0.23628,
    "h": 316
  },
  "luminance": 0.25484
}

Semantic roles & 50–950 ramp

primary
#C956F2
secondary
#C5EDB7
accent
#E2033E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #C956F2

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

Preview Lab → · Contrast checker → · Palette generator →

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