#CA8FCB#CA8FCB

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

Color values

HEX#CA8FCB
RGBrgb(202, 143, 203)
HSLhsl(299, 37%, 68%)
HSVhsv(299, 30%, 80%)
CMYKcmyk(0.5%, 29.6%, 0%, 20.4%)
CIE-LABlab(66.91, 32.20, -22.08)
CIE-LCHlch(66.91, 39.04, 325.57°)
OKLaboklab(72.75% 0.0888 -0.0598)
OKLCHoklch(72.75% 0.107 326.1)
XYZxyz(44.9580, 36.5148, 61.1682)
Luminance0.3651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FCB #90CB8F
analogous
#AC8FCB #CA8FCB #CB8FAE
triadic
#CA8FCB #CBCA8F #8FCBCA
tetradic
#CA8FCB #CBAC8F #90CB8F #8FAECB
square
#CA8FCB #CBAC8F #90CB8F #8FAECB
split-complementary
#CA8FCB #AECB8F #8FCBAC
monochromatic
#974799 #B665B8 #CA8FCB #DEB9DE #F2E3F2

Accessibility & contrast

On white

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

On black

8.30
#CA8FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FCB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FCB#FFFFFF#000000##000000
##CA8FCB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECD
Deuteranopia (green-blind)
#99A5C9
Tritanopia (blue-blind)
#CD94A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8fcb;
/* rgb */ color: rgb(202, 143, 203);
/* oklch */ color: oklch(72.7% 0.107 326.1);
Tailwind
colors: {
  custom: {
    50: '#dbb0db',
    500: '#ca8fcb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fcb;
$custom-light: #dbb0db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fcb",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 203
  },
  "hsl": {
    "h": 299,
    "s": 36.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72749,
    "c": 0.10703,
    "h": 326.1
  },
  "luminance": 0.36513
}

Semantic roles & 50–950 ramp

primary
#CA8FCB
secondary
#D2E4D2
accent
#AF3638
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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