#CA8DDF#CA8DDF

#CA8DDF is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.2% C 0.132 H 317.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CA8DDF
RGBrgb(202, 141, 223)
HSLhsl(285, 56%, 71%)
HSVhsv(285, 37%, 87%)
CMYKcmyk(9.4%, 36.8%, 0%, 12.5%)
CIE-LABlab(67.23, 37.20, -32.69)
CIE-LCHlch(67.23, 49.53, 318.69°)
OKLaboklab(73.24% 0.0968 -0.0898)
OKLCHoklch(73.24% 0.132 317.2)
XYZxyz(47.1994, 36.9352, 74.4406)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DDF #A2DF8D
analogous
#A18DDF #CA8DDF #DF8DCB
triadic
#CA8DDF #DFCA8D #8DDFCA
tetradic
#CA8DDF #DFA18D #A2DF8D #8DCBDF
square
#CA8DDF #DFA18D #A2DF8D #8DCBDF
split-complementary
#CA8DDF #CBDF8D #8DDFA1
monochromatic
#9A35BD #B45DD2 #CA8DDF #E0BDEC #F4E7F8

Accessibility & contrast

On white

2.50
#CA8DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CA8DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DDF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DDF#FFFFFF#000000##000000
##CA8DDF1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A0E2
Deuteranopia (green-blind)
#90A6DD
Tritanopia (blue-blind)
#CA97AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8ddf;
/* rgb */ color: rgb(202, 141, 223);
/* oklch */ color: oklch(73.2% 0.132 317.2);
Tailwind
colors: {
  custom: {
    50: '#dbafe9',
    500: '#ca8ddf',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ddf;
$custom-light: #dbafe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ddf",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 223
  },
  "hsl": {
    "h": 284.634,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73242,
    "c": 0.13205,
    "h": 317.2
  },
  "luminance": 0.36934
}

Semantic roles & 50–950 ramp

primary
#CA8DDF
secondary
#DFEFD9
accent
#C4224B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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