#C959EC#C959EC

#C959EC is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.3% C 0.227 H 317.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#C959EC
RGBrgb(201, 89, 236)
HSLhsl(286, 79%, 64%)
HSVhsv(286, 62%, 93%)
CMYKcmyk(14.8%, 62.3%, 0%, 7.5%)
CIE-LABlab(57.67, 65.67, -54.96)
CIE-LCHlch(57.67, 85.63, 320.07°)
OKLaboklab(66.34% 0.1666 -0.1539)
OKLCHoklch(66.34% 0.227 317.3)
XYZxyz(42.7979, 25.6201, 82.0314)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C959EC #7CEC59
analogous
#7F59EC #C959EC #EC59C5
triadic
#C959EC #ECC959 #59ECC9
tetradic
#C959EC #EC7F59 #7CEC59 #59C5EC
square
#C959EC #EC7F59 #7CEC59 #59C5EC
split-complementary
#C959EC #C5EC59 #59EC7F
monochromatic
#8F15B6 #B722E6 #C959EC #DB90F2 #EDC7F9

Accessibility & contrast

On white

3.43
#C959EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#C959EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C959EC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C959EC#FFFFFF#000000##000000
##C959EC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#C8739B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c959ec;
/* rgb */ color: rgb(201, 89, 236);
/* oklch */ color: oklch(66.3% 0.227 317.3);
Tailwind
colors: {
  custom: {
    50: '#dd8ef3',
    500: '#c959ec',
    950: '#000000',
  },
}
SCSS
$custom: #c959ec;
$custom-light: #dd8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c959ec",
  "rgb": {
    "r": 201,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 285.714,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66342,
    "c": 0.22679,
    "h": 317.3
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#C959EC
secondary
#C3EAB6
accent
#DC0A3C
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C959EC

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

Preview Lab → · Contrast checker → · Palette generator →

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