#CA8DEC#CA8DEC

#CA8DEC is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.8% C 0.147 H 312.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CA8DEC
RGBrgb(202, 141, 236)
HSLhsl(279, 71%, 74%)
HSVhsv(279, 40%, 93%)
CMYKcmyk(14.4%, 40.3%, 0%, 7.5%)
CIE-LABlab(67.77, 39.89, -39.02)
CIE-LCHlch(67.77, 55.80, 315.63°)
OKLaboklab(73.83% 0.0996 -0.1079)
OKLCHoklch(73.83% 0.147 312.7)
XYZxyz(49.0198, 37.6634, 84.0281)
Luminance0.3766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DEC #AFEC8D
analogous
#9B8DEC #CA8DEC #EC8DDF
triadic
#CA8DEC #ECCA8D #8DECCA
tetradic
#CA8DEC #EC9B8D #AFEC8D #8DDFEC
square
#CA8DEC #EC9B8D #AFEC8D #8DDFEC
split-complementary
#CA8DEC #DFEC8D #8DEC9B
monochromatic
#9924DA #B259E3 #CA8DEC #E2C1F5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.53
#CA8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DEC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DEC#FFFFFF#000000##000000
##CA8DEC1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#8AA7E9
Tritanopia (blue-blind)
#C79AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8dec;
/* rgb */ color: rgb(202, 141, 236);
/* oklch */ color: oklch(73.8% 0.147 312.7);
Tailwind
colors: {
  custom: {
    50: '#dbaff2',
    500: '#ca8dec',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dec;
$custom-light: #dbaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dec",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 278.526,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7383,
    "c": 0.14681,
    "h": 312.7
  },
  "luminance": 0.37662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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