#CA7FCF#CA7FCF

#CA7FCF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.3% C 0.139 H 324.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CA7FCF
RGBrgb(202, 127, 207)
HSLhsl(296, 45%, 65%)
HSVhsv(296, 39%, 81%)
CMYKcmyk(2.4%, 38.6%, 0%, 18.8%)
CIE-LABlab(63.54, 41.60, -29.49)
CIE-LCHlch(63.54, 50.99, 324.67°)
OKLaboklab(70.25% 0.1138 -0.0805)
OKLCHoklch(70.25% 0.139 324.7)
XYZxyz(43.2079, 32.2420, 62.9667)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FCF #84CF7F
analogous
#A27FCF #CA7FCF #CF7FAC
triadic
#CA7FCF #CFCA7F #7FCFCA
tetradic
#CA7FCF #CFA27F #84CF7F #7FACCF
square
#CA7FCF #CFA27F #84CF7F #7FACCF
split-complementary
#CA7FCF #ACCF7F #7FCFA2
monochromatic
#943A9A #B852BE #CA7FCF #DCACE0 #EFD8F0

Accessibility & contrast

On white

2.82
#CA7FCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CA7FCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FCF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FCF#FFFFFF#000000##000000
##CA7FCF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D2
Deuteranopia (green-blind)
#8B9DCC
Tritanopia (blue-blind)
#CD879D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7fcf;
/* rgb */ color: rgb(202, 127, 207);
/* oklch */ color: oklch(70.3% 0.139 324.7);
Tailwind
colors: {
  custom: {
    50: '#dba6de',
    500: '#ca7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fcf;
$custom-light: #dba6de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fcf",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 296.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.13943,
    "h": 324.7
  },
  "luminance": 0.3224
}

Semantic roles & 50–950 ramp

primary
#CA7FCF
secondary
#C9E2C8
accent
#B92D36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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