#C59DEC#C59DEC

#C59DEC is a light, moderate violet. Relative luminance 0.420; OKLCH L 76.1% C 0.118 H 307.0°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#C59DEC
RGBrgb(197, 157, 236)
HSLhsl(270, 68%, 77%)
HSVhsv(270, 33%, 93%)
CMYKcmyk(16.5%, 33.5%, 0%, 7.5%)
CIE-LABlab(70.90, 29.66, -34.19)
CIE-LCHlch(70.90, 45.26, 310.94°)
OKLaboklab(76.09% 0.071 -0.0942)
OKLCHoklch(76.09% 0.118 307)
XYZxyz(50.2204, 42.0407, 84.8096)
Luminance0.4204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C59DEC #C4EC9D
analogous
#9E9DEC #C59DEC #EC9DEB
triadic
#C59DEC #ECC59D #9DECC5
tetradic
#C59DEC #EC9E9D #C4EC9D #9DEBEC
square
#C59DEC #EC9E9D #C4EC9D #9DEBEC
split-complementary
#C59DEC #EBEC9D #9DEC9E
monochromatic
#8836D8 #A76AE2 #C59DEC #E3D0F6 #F0E5FA

Accessibility & contrast

On white

2.23
#C59DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#C59DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C59DEC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C59DEC#FFFFFF#000000##000000
##C59DEC1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#96AEEA
Tritanopia (blue-blind)
#C0A8BA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c59dec;
/* rgb */ color: rgb(197, 157, 236);
/* oklch */ color: oklch(76.1% 0.118 307.0);
Tailwind
colors: {
  custom: {
    50: '#d7baf2',
    500: '#c59dec',
    950: '#000000',
  },
}
SCSS
$custom: #c59dec;
$custom-light: #d7baf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c59dec",
  "rgb": {
    "r": 197,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 270.38,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76086,
    "c": 0.11799,
    "h": 307
  },
  "luminance": 0.4204
}

Semantic roles & 50–950 ramp

primary
#C59DEC
secondary
#E5F2D9
accent
#CF1672
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C59DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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