#CA8FDC#CA8FDC

#CA8FDC is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.4% C 0.125 H 318.1°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CA8FDC
RGBrgb(202, 143, 220)
HSLhsl(286, 52%, 71%)
HSVhsv(286, 35%, 86%)
CMYKcmyk(8.2%, 35%, 0%, 13.7%)
CIE-LABlab(67.55, 35.51, -30.53)
CIE-LCHlch(67.55, 46.83, 319.31°)
OKLaboklab(73.45% 0.0932 -0.0836)
OKLCHoklch(73.45% 0.125 318.1)
XYZxyz(47.0961, 37.3700, 72.4285)
Luminance0.3737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FDC #A1DC8F
analogous
#A38FDC #CA8FDC #DC8FC7
triadic
#CA8FDC #DCCA8F #8FDCCA
tetradic
#CA8FDC #DCA38F #A1DC8F #8FC7DC
square
#CA8FDC #DCA38F #A1DC8F #8FC7DC
split-complementary
#CA8FDC #C7DC8F #8FDCA3
monochromatic
#9A39B7 #B460CD #CA8FDC #E0BEEB #F4E8F8

Accessibility & contrast

On white

2.48
#CA8FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CA8FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FDC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FDC#FFFFFF#000000##000000
##CA8FDC1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1DF
Deuteranopia (green-blind)
#93A7DA
Tritanopia (blue-blind)
#CA98AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8fdc;
/* rgb */ color: rgb(202, 143, 220);
/* oklch */ color: oklch(73.4% 0.125 318.1);
Tailwind
colors: {
  custom: {
    50: '#dbb0e7',
    500: '#ca8fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fdc;
$custom-light: #dbb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fdc",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 285.974,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73448,
    "c": 0.12523,
    "h": 318.1
  },
  "luminance": 0.37369
}

Semantic roles & 50–950 ramp

primary
#CA8FDC
secondary
#DEEED9
accent
#C0264A
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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