#CA8FCA#CA8FCA

#CA8FCA is a light, moderate purple. Relative luminance 0.365; OKLCH L 72.7% C 0.106 H 326.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CA8FCA
RGBrgb(202, 143, 202)
HSLhsl(300, 36%, 68%)
HSVhsv(300, 29%, 79%)
CMYKcmyk(0%, 29.2%, 0%, 20.8%)
CIE-LABlab(66.88, 32.01, -21.57)
CIE-LCHlch(66.88, 38.60, 326.02°)
OKLaboklab(72.71% 0.0885 -0.0584)
OKLCHoklch(72.71% 0.106 326.6)
XYZxyz(44.8392, 36.4673, 60.5426)
Luminance0.3647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FCA #8FCA8F
analogous
#AC8FCA #CA8FCA #CA8FAC
triadic
#CA8FCA #CACA8F #8FCACA
tetradic
#CA8FCA #CAAC8F #8FCA8F #8FACCA
square
#CA8FCA #CAAC8F #8FCA8F #8FACCA
split-complementary
#CA8FCA #ACCA8F #8FCAAC
monochromatic
#974897 #B665B6 #CA8FCA #DEB9DE #F1E2F1

Accessibility & contrast

On white

2.53
#CA8FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#CA8FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FCA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FCA#FFFFFF#000000##000000
##CA8FCA1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECC
Deuteranopia (green-blind)
#99A5C8
Tritanopia (blue-blind)
#CE94A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8fca;
/* rgb */ color: rgb(202, 143, 202);
/* oklch */ color: oklch(72.7% 0.106 326.6);
Tailwind
colors: {
  custom: {
    50: '#dbb0da',
    500: '#ca8fca',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fca;
$custom-light: #dbb0da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fca",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7271,
    "c": 0.10602,
    "h": 326.6
  },
  "luminance": 0.36466
}

Semantic roles & 50–950 ramp

primary
#CA8FCA
secondary
#D1E4D1
accent
#AF3737
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CA8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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