#CA8FDF#CA8FDF

#CA8FDF is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.6% C 0.129 H 316.9°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CA8FDF
RGBrgb(202, 143, 223)
HSLhsl(284, 56%, 72%)
HSVhsv(284, 36%, 87%)
CMYKcmyk(9.4%, 35.9%, 0%, 12.5%)
CIE-LABlab(67.67, 36.12, -32.00)
CIE-LCHlch(67.67, 48.26, 318.46°)
OKLaboklab(73.58% 0.0939 -0.0878)
OKLCHoklch(73.58% 0.129 316.9)
XYZxyz(47.4969, 37.5303, 74.5398)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FDF #A4DF8F
analogous
#A28FDF #CA8FDF #DF8FCC
triadic
#CA8FDF #DFCA8F #8FDFCA
tetradic
#CA8FDF #DFA28F #A4DF8F #8FCCDF
square
#CA8FDF #DFA28F #A4DF8F #8FCCDF
split-complementary
#CA8FDF #CCDF8F #8FDFA2
monochromatic
#9A36BD #B35FD1 #CA8FDF #E1BFED #F4E7F8

Accessibility & contrast

On white

2.47
#CA8FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CA8FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FDF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FDF#FFFFFF#000000##000000
##CA8FDF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A1E2
Deuteranopia (green-blind)
#91A7DD
Tritanopia (blue-blind)
#CA99AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8fdf;
/* rgb */ color: rgb(202, 143, 223);
/* oklch */ color: oklch(73.6% 0.129 316.9);
Tailwind
colors: {
  custom: {
    50: '#dbb0e9',
    500: '#ca8fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fdf;
$custom-light: #dbb0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fdf",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 284.25,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73578,
    "c": 0.12859,
    "h": 316.9
  },
  "luminance": 0.37529
}

Semantic roles & 50–950 ramp

primary
#CA8FDF
secondary
#E0EFDB
accent
#C3224D
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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