#CA8DEE#CA8DEE

#CA8DEE is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.9% C 0.149 H 312.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CA8DEE
RGBrgb(202, 141, 238)
HSLhsl(278, 74%, 74%)
HSVhsv(278, 41%, 93%)
CMYKcmyk(15.1%, 40.8%, 0%, 6.7%)
CIE-LABlab(67.86, 40.31, -39.98)
CIE-LCHlch(67.86, 56.77, 315.23°)
OKLaboklab(73.92% 0.0999 -0.1107)
OKLCHoklch(73.92% 0.149 312.1)
XYZxyz(49.3120, 37.7803, 85.5669)
Luminance0.3778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DEE #B1EE8D
analogous
#9A8DEE #CA8DEE #EE8DE2
triadic
#CA8DEE #EECA8D #8DEECA
tetradic
#CA8DEE #EE9A8D #B1EE8D #8DE2EE
square
#CA8DEE #EE9A8D #B1EE8D #8DE2EE
split-complementary
#CA8DEE #E2EE8D #8DEE9A
monochromatic
#9822DE #B158E6 #CA8DEE #E3C2F6 #F3E4FB

Accessibility & contrast

On white

2.45
#CA8DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CA8DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DEE
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DEE#FFFFFF#000000##000000
##CA8DEE1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#89A7EB
Tritanopia (blue-blind)
#C79BB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8dee;
/* rgb */ color: rgb(202, 141, 238);
/* oklch */ color: oklch(73.9% 0.149 312.1);
Tailwind
colors: {
  custom: {
    50: '#dbaff4',
    500: '#ca8dee',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dee;
$custom-light: #dbaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dee",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 277.732,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73924,
    "c": 0.14911,
    "h": 312.1
  },
  "luminance": 0.37779
}

Semantic roles & 50–950 ramp

primary
#CA8DEE
secondary
#E2F3D8
accent
#D60F59
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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