#CA7FCE#CA7FCE

#CA7FCE is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.2% C 0.138 H 325.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CA7FCE
RGBrgb(202, 127, 206)
HSLhsl(297, 45%, 65%)
HSVhsv(297, 38%, 81%)
CMYKcmyk(1.9%, 38.3%, 0%, 19.2%)
CIE-LABlab(63.50, 41.41, -28.99)
CIE-LCHlch(63.50, 50.55, 325.01°)
OKLaboklab(70.21% 0.1136 -0.0791)
OKLCHoklch(70.21% 0.138 325.1)
XYZxyz(43.0860, 32.1933, 62.3249)
Luminance0.3219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FCE #83CE7F
analogous
#A27FCE #CA7FCE #CE7FAA
triadic
#CA7FCE #CECA7F #7FCECA
tetradic
#CA7FCE #CEA27F #83CE7F #7FAACE
square
#CA7FCE #CEA27F #83CE7F #7FAACE
split-complementary
#CA7FCE #AACE7F #7FCEA2
monochromatic
#943A98 #B853BD #CA7FCE #DCABDF #EFD8F0

Accessibility & contrast

On white

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

On black

7.44
#CA7FCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FCE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FCE#FFFFFF#000000##000000
##CA7FCE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D1
Deuteranopia (green-blind)
#8B9DCB
Tritanopia (blue-blind)
#CE879D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7fce;
/* rgb */ color: rgb(202, 127, 206);
/* oklch */ color: oklch(70.2% 0.138 325.1);
Tailwind
colors: {
  custom: {
    50: '#dba5dd',
    500: '#ca7fce',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fce;
$custom-light: #dba5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fce",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 296.962,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.13843,
    "h": 325.1
  },
  "luminance": 0.32192
}

Semantic roles & 50–950 ramp

primary
#CA7FCE
secondary
#C8E2C7
accent
#B82E35
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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