#CA9DE2#CA9DE2

#CA9DE2 is a light, moderate violet. Relative luminance 0.422; OKLCH L 76.1% C 0.108 H 313.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CA9DE2
RGBrgb(202, 157, 226)
HSLhsl(279, 54%, 75%)
HSVhsv(279, 31%, 89%)
CMYKcmyk(10.6%, 30.5%, 0%, 11.4%)
CIE-LABlab(70.98, 29.08, -28.55)
CIE-LCHlch(70.98, 40.75, 315.52°)
OKLaboklab(76.13% 0.0742 -0.0781)
OKLCHoklch(76.13% 0.108 313.5)
XYZxyz(50.1393, 42.1623, 77.4336)
Luminance0.4216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DE2 #B5E29D
analogous
#A79DE2 #CA9DE2 #E29DD8
triadic
#CA9DE2 #E2CA9D #9DE2CA
tetradic
#CA9DE2 #E2A79D #B5E29D #9DD8E2
square
#CA9DE2 #E2A79D #B5E29D #9DD8E2
split-complementary
#CA9DE2 #D8E29D #9DE2A7
monochromatic
#973FC6 #B06ED4 #CA9DE2 #E4CCF0 #F2E7F8

Accessibility & contrast

On white

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

On black

9.43
#CA9DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DE2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DE2#FFFFFF#000000##000000
##CA9DE21.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ABE5
Deuteranopia (green-blind)
#9CAFE0
Tritanopia (blue-blind)
#C8A6B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9de2;
/* rgb */ color: rgb(202, 157, 226);
/* oklch */ color: oklch(76.1% 0.108 313.5);
Tailwind
colors: {
  custom: {
    50: '#dbbaeb',
    500: '#ca9de2',
    950: '#000000',
  },
}
SCSS
$custom: #ca9de2;
$custom-light: #dbbaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9de2",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 226
  },
  "hsl": {
    "h": 279.13,
    "s": 54.331,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76132,
    "c": 0.10771,
    "h": 313.5
  },
  "luminance": 0.42161
}

Semantic roles & 50–950 ramp

primary
#CA9DE2
secondary
#E3EFDC
accent
#C2245B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA9DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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