#CA9DEC#CA9DEC

#CA9DEC is a light, moderate violet. Relative luminance 0.427; OKLCH L 76.6% C 0.120 H 309.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CA9DEC
RGBrgb(202, 157, 236)
HSLhsl(274, 68%, 77%)
HSVhsv(274, 33%, 93%)
CMYKcmyk(14.4%, 33.5%, 0%, 7.5%)
CIE-LABlab(71.37, 31.17, -33.43)
CIE-LCHlch(71.37, 45.70, 313.00°)
OKLaboklab(76.55% 0.0767 -0.092)
OKLCHoklch(76.55% 0.12 309.8)
XYZxyz(51.5517, 42.7272, 84.8720)
Luminance0.4273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DEC #BFEC9D
analogous
#A39DEC #CA9DEC #EC9DE7
triadic
#CA9DEC #ECCA9D #9DECCA
tetradic
#CA9DEC #ECA39D #BFEC9D #9DE7EC
square
#CA9DEC #ECA39D #BFEC9D #9DE7EC
split-complementary
#CA9DEC #E7EC9D #9DECA3
monochromatic
#9336D8 #AE6AE2 #CA9DEC #E6D0F6 #F1E5FA

Accessibility & contrast

On white

2.20
#CA9DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CA9DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DEC
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DEC#FFFFFF#000000##000000
##CA9DEC1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEF
Deuteranopia (green-blind)
#98B0EA
Tritanopia (blue-blind)
#C6A8BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9dec;
/* rgb */ color: rgb(202, 157, 236);
/* oklch */ color: oklch(76.6% 0.120 309.8);
Tailwind
colors: {
  custom: {
    50: '#dbbaf2',
    500: '#ca9dec',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dec;
$custom-light: #dbbaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dec",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 274.177,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76554,
    "c": 0.11976,
    "h": 309.8
  },
  "luminance": 0.42727
}

Semantic roles & 50–950 ramp

primary
#CA9DEC
secondary
#E4F2D9
accent
#CF1666
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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