#CA7FCA#CA7FCA

#CA7FCA is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.0% C 0.134 H 326.9°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CA7FCA
RGBrgb(202, 127, 202)
HSLhsl(300, 41%, 65%)
HSVhsv(300, 37%, 79%)
CMYKcmyk(0%, 37.1%, 0%, 20.8%)
CIE-LABlab(63.34, 40.66, -26.98)
CIE-LCHlch(63.34, 48.80, 326.43°)
OKLaboklab(70.04% 0.1127 -0.0735)
OKLCHoklch(70.04% 0.134 326.9)
XYZxyz(42.6063, 32.0014, 59.7983)
Luminance0.3200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FCA #7FCA7F
analogous
#A57FCA #CA7FCA #CA7FA5
triadic
#CA7FCA #CACA7F #7FCACA
tetradic
#CA7FCA #CAA57F #7FCA7F #7FA5CA
square
#CA7FCA #CAA57F #7FCA7F #7FA5CA
split-complementary
#CA7FCA #A5CA7F #7FCAA5
monochromatic
#923C92 #B854B8 #CA7FCA #DCAADC #EED6EE

Accessibility & contrast

On white

2.84
#CA7FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CA7FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FCA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FCA#FFFFFF#000000##000000
##CA7FCA1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#CE869B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7fca;
/* rgb */ color: rgb(202, 127, 202);
/* oklch */ color: oklch(70.0% 0.134 326.9);
Tailwind
colors: {
  custom: {
    50: '#dba5da',
    500: '#ca7fca',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fca;
$custom-light: #dba5da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fca",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70037,
    "c": 0.13449,
    "h": 326.9
  },
  "luminance": 0.32
}

Semantic roles & 50–950 ramp

primary
#CA7FCA
secondary
#C5DFC5
accent
#B43131
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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