#CA7FC2#CA7FC2

#CA7FC2 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.7% C 0.127 H 330.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CA7FC2
RGBrgb(202, 127, 194)
HSLhsl(306, 41%, 65%)
HSVhsv(306, 37%, 79%)
CMYKcmyk(0%, 37.1%, 4%, 20.8%)
CIE-LABlab(63.04, 39.20, -22.95)
CIE-LCHlch(63.04, 45.42, 329.65°)
OKLaboklab(69.71% 0.1107 -0.0621)
OKLCHoklch(69.71% 0.127 330.7)
XYZxyz(41.6835, 31.6323, 54.9385)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FC2 #7FCA87
analogous
#AD7FCA #CA7FC2 #CA7F9D
triadic
#CA7FC2 #C2CA7F #7FC2CA
tetradic
#CA7FC2 #CAAD7F #7FCA87 #7F9DCA
square
#CA7FC2 #CAAD7F #7FCA87 #7F9DCA
split-complementary
#CA7FC2 #9DCA7F #7FCAAD
monochromatic
#923C89 #B854AD #CA7FC2 #DCAAD7 #EED6EB

Accessibility & contrast

On white

2.87
#CA7FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CA7FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FC2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FC2#FFFFFF#000000##000000
##CA7FC21.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C4
Deuteranopia (green-blind)
#8F9CC0
Tritanopia (blue-blind)
#D08498
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7fc2;
/* rgb */ color: rgb(202, 127, 194);
/* oklch */ color: oklch(69.7% 0.127 330.7);
Tailwind
colors: {
  custom: {
    50: '#dba5d4',
    500: '#ca7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fc2;
$custom-light: #dba5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fc2",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 306.4,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69705,
    "c": 0.12688,
    "h": 330.7
  },
  "luminance": 0.3163
}

Semantic roles & 50–950 ramp

primary
#CA7FC2
secondary
#C5DFC8
accent
#B43F31
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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