#CA8FDA#CA8FDA

#CA8FDA is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.4% C 0.123 H 318.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CA8FDA
RGBrgb(202, 143, 218)
HSLhsl(287, 50%, 71%)
HSVhsv(287, 34%, 85%)
CMYKcmyk(7.3%, 34.4%, 0%, 14.5%)
CIE-LABlab(67.48, 35.11, -29.54)
CIE-LCHlch(67.48, 45.89, 319.92°)
OKLaboklab(73.36% 0.0927 -0.0808)
OKLCHoklch(73.36% 0.123 318.9)
XYZxyz(46.8328, 37.2647, 71.0418)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FDA #9FDA8F
analogous
#A48FDA #CA8FDA #DA8FC4
triadic
#CA8FDA #DACA8F #8FDACA
tetradic
#CA8FDA #DAA48F #9FDA8F #8FC4DA
square
#CA8FDA #DAA48F #9FDA8F #8FC4DA
split-complementary
#CA8FDA #C4DA8F #8FDAA4
monochromatic
#9A3BB3 #B461CB #CA8FDA #E0BDE9 #F4E8F7

Accessibility & contrast

On white

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

On black

8.45
#CA8FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FDA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FDA#FFFFFF#000000##000000
##CA8FDA1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DD
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#CB98AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8fda;
/* rgb */ color: rgb(202, 143, 218);
/* oklch */ color: oklch(73.4% 0.123 318.9);
Tailwind
colors: {
  custom: {
    50: '#dbb0e5',
    500: '#ca8fda',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fda;
$custom-light: #dbb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fda",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 287.2,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73363,
    "c": 0.12301,
    "h": 318.9
  },
  "luminance": 0.37263
}

Semantic roles & 50–950 ramp

primary
#CA8FDA
secondary
#DDECD8
accent
#BE2848
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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