#CA8DED#CA8DED

#CA8DED is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.9% C 0.148 H 312.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CA8DED
RGBrgb(202, 141, 237)
HSLhsl(278, 73%, 74%)
HSVhsv(278, 41%, 93%)
CMYKcmyk(14.8%, 40.5%, 0%, 7.1%)
CIE-LABlab(67.81, 40.10, -39.50)
CIE-LCHlch(67.81, 56.28, 315.43°)
OKLaboklab(73.88% 0.0998 -0.1093)
OKLCHoklch(73.88% 0.148 312.4)
XYZxyz(49.1655, 37.7216, 84.7954)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DED #B0ED8D
analogous
#9A8DED #CA8DED #ED8DE0
triadic
#CA8DED #EDCA8D #8DEDCA
tetradic
#CA8DED #ED9A8D #B0ED8D #8DE0ED
square
#CA8DED #ED9A8D #B0ED8D #8DE0ED
split-complementary
#CA8DED #E0ED8D #8DED9A
monochromatic
#9923DC #B158E5 #CA8DED #E3C2F5 #F3E5FB

Accessibility & contrast

On white

2.46
#CA8DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CA8DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DED
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DED#FFFFFF#000000##000000
##CA8DED1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F1
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#C79BB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8ded;
/* rgb */ color: rgb(202, 141, 237);
/* oklch */ color: oklch(73.9% 0.148 312.4);
Tailwind
colors: {
  custom: {
    50: '#dbaff3',
    500: '#ca8ded',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ded;
$custom-light: #dbaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ded",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 278.125,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73877,
    "c": 0.14795,
    "h": 312.4
  },
  "luminance": 0.37721
}

Semantic roles & 50–950 ramp

primary
#CA8DED
secondary
#E2F2D9
accent
#D51158
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DED

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

Preview Lab → · Contrast checker → · Palette generator →

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