#CA7FCC#CA7FCC

#CA7FCC is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.136 H 326.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CA7FCC
RGBrgb(202, 127, 204)
HSLhsl(298, 43%, 65%)
HSVhsv(298, 38%, 80%)
CMYKcmyk(1%, 37.7%, 0%, 20%)
CIE-LABlab(63.42, 41.03, -27.99)
CIE-LCHlch(63.42, 49.67, 325.70°)
OKLaboklab(70.12% 0.1131 -0.0763)
OKLCHoklch(70.12% 0.136 326)
XYZxyz(42.8446, 32.0967, 61.0535)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FCC #81CC7F
analogous
#A47FCC #CA7FCC #CC7FA7
triadic
#CA7FCC #CCCA7F #7FCCCA
tetradic
#CA7FCC #CCA47F #81CC7F #7FA7CC
square
#CA7FCC #CCA47F #81CC7F #7FA7CC
split-complementary
#CA7FCC #A7CC7F #7FCCA4
monochromatic
#933B95 #B853BB #CA7FCC #DCABDD #EED7EF

Accessibility & contrast

On white

2.83
#CA7FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CA7FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FCC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FCC#FFFFFF#000000##000000
##CA7FCC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#8C9DC9
Tritanopia (blue-blind)
#CE879C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7fcc;
/* rgb */ color: rgb(202, 127, 204);
/* oklch */ color: oklch(70.1% 0.136 326.0);
Tailwind
colors: {
  custom: {
    50: '#dba5db',
    500: '#ca7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fcc;
$custom-light: #dba5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fcc",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 298.442,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70122,
    "c": 0.13644,
    "h": 326
  },
  "luminance": 0.32095
}

Semantic roles & 50–950 ramp

primary
#CA7FCC
secondary
#C7E1C6
accent
#B62F33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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