#CA9CED#CA9CED

#CA9CED is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.4% C 0.123 H 309.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CA9CED
RGBrgb(202, 156, 237)
HSLhsl(274, 69%, 77%)
HSVhsv(274, 34%, 93%)
CMYKcmyk(14.8%, 34.2%, 0%, 7.1%)
CIE-LABlab(71.18, 31.93, -34.27)
CIE-LCHlch(71.18, 46.84, 312.98°)
OKLaboklab(76.42% 0.0784 -0.0944)
OKLCHoklch(76.42% 0.123 309.7)
XYZxyz(51.5289, 42.4485, 85.5832)
Luminance0.4245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CED #BFED9C
analogous
#A29CED #CA9CED #ED9CE8
triadic
#CA9CED #EDCA9C #9CEDCA
tetradic
#CA9CED #EDA29C #BFED9C #9CE8ED
square
#CA9CED #EDA29C #BFED9C #9CE8ED
split-complementary
#CA9CED #E8ED9C #9CEDA2
monochromatic
#9334DA #AE68E4 #CA9CED #E6D0F6 #F1E5FA

Accessibility & contrast

On white

2.21
#CA9CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#CA9CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CED
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CED#FFFFFF#000000##000000
##CA9CED1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF0
Deuteranopia (green-blind)
#97AFEB
Tritanopia (blue-blind)
#C6A7BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9ced;
/* rgb */ color: rgb(202, 156, 237);
/* oklch */ color: oklch(76.4% 0.123 309.7);
Tailwind
colors: {
  custom: {
    50: '#dbb9f3',
    500: '#ca9ced',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ced;
$custom-light: #dbb9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ced",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 237
  },
  "hsl": {
    "h": 274.074,
    "s": 69.231,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76422,
    "c": 0.12266,
    "h": 309.7
  },
  "luminance": 0.42448
}

Semantic roles & 50–950 ramp

primary
#CA9CED
secondary
#E4F2D9
accent
#D11466
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9CED

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

Preview Lab → · Contrast checker → · Palette generator →

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