#CA8FDE#CA8FDE

#CA8FDE is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.5% C 0.127 H 317.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CA8FDE
RGBrgb(202, 143, 222)
HSLhsl(285, 54%, 72%)
HSVhsv(285, 36%, 87%)
CMYKcmyk(9%, 35.6%, 0%, 12.9%)
CIE-LABlab(67.63, 35.91, -31.51)
CIE-LCHlch(67.63, 47.78, 318.73°)
OKLaboklab(73.53% 0.0937 -0.0864)
OKLCHoklch(73.53% 0.127 317.3)
XYZxyz(47.3625, 37.4766, 73.8318)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FDE #A3DE8F
analogous
#A38FDE #CA8FDE #DE8FCB
triadic
#CA8FDE #DECA8F #8FDECA
tetradic
#CA8FDE #DEA38F #A3DE8F #8FCBDE
square
#CA8FDE #DEA38F #A3DE8F #8FCBDE
split-complementary
#CA8FDE #CBDE8F #8FDEA3
monochromatic
#9A37BB #B460D0 #CA8FDE #E0BEEC #F4E7F8

Accessibility & contrast

On white

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

On black

8.49
#CA8FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FDE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FDE#FFFFFF#000000##000000
##CA8FDE1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E1
Deuteranopia (green-blind)
#92A7DC
Tritanopia (blue-blind)
#CA99AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8fde;
/* rgb */ color: rgb(202, 143, 222);
/* oklch */ color: oklch(73.5% 0.127 317.3);
Tailwind
colors: {
  custom: {
    50: '#dbb0e8',
    500: '#ca8fde',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fde;
$custom-light: #dbb0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fde",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 222
  },
  "hsl": {
    "h": 284.81,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73534,
    "c": 0.12747,
    "h": 317.3
  },
  "luminance": 0.37475
}

Semantic roles & 50–950 ramp

primary
#CA8FDE
secondary
#DFEFDA
accent
#C2244C
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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