#CA8FDD#CA8FDD

#CA8FDD is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.5% C 0.126 H 317.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CA8FDD
RGBrgb(202, 143, 221)
HSLhsl(285, 53%, 71%)
HSVhsv(285, 35%, 87%)
CMYKcmyk(8.6%, 35.3%, 0%, 13.3%)
CIE-LABlab(67.59, 35.71, -31.02)
CIE-LCHlch(67.59, 47.30, 319.02°)
OKLaboklab(73.49% 0.0935 -0.085)
OKLCHoklch(73.49% 0.126 317.7)
XYZxyz(47.2289, 37.4231, 73.1281)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FDD #A2DD8F
analogous
#A38FDD #CA8FDD #DD8FC9
triadic
#CA8FDD #DDCA8F #8FDDCA
tetradic
#CA8FDD #DDA38F #A2DD8F #8FC9DD
square
#CA8FDD #DDA38F #A2DD8F #8FC9DD
split-complementary
#CA8FDD #C9DD8F #8FDDA3
monochromatic
#9A38B9 #B460CF #CA8FDD #E0BEEB #F4E8F8

Accessibility & contrast

On white

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

On black

8.48
#CA8FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FDD
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FDD#FFFFFF#000000##000000
##CA8FDD1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E0
Deuteranopia (green-blind)
#92A7DB
Tritanopia (blue-blind)
#CA98AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8fdd;
/* rgb */ color: rgb(202, 143, 221);
/* oklch */ color: oklch(73.5% 0.126 317.7);
Tailwind
colors: {
  custom: {
    50: '#dbb0e7',
    500: '#ca8fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fdd;
$custom-light: #dbb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fdd",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 221
  },
  "hsl": {
    "h": 285.385,
    "s": 53.425,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73491,
    "c": 0.12634,
    "h": 317.7
  },
  "luminance": 0.37422
}

Semantic roles & 50–950 ramp

primary
#CA8FDD
secondary
#DFEEDA
accent
#C1254B
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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