#CA7FC5#CA7FC5

#CA7FC5 is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.8% C 0.130 H 329.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CA7FC5
RGBrgb(202, 127, 197)
HSLhsl(304, 41%, 65%)
HSVhsv(304, 37%, 79%)
CMYKcmyk(0%, 37.1%, 2.5%, 20.8%)
CIE-LABlab(63.15, 39.74, -24.47)
CIE-LCHlch(63.15, 46.67, 328.38°)
OKLaboklab(69.83% 0.1114 -0.0664)
OKLCHoklch(69.83% 0.13 329.2)
XYZxyz(42.0239, 31.7684, 56.7308)
Luminance0.3177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FC5 #7FCA84
analogous
#AA7FCA #CA7FC5 #CA7FA0
triadic
#CA7FC5 #C5CA7F #7FC5CA
tetradic
#CA7FC5 #CAAA7F #7FCA84 #7FA0CA
square
#CA7FC5 #CAAA7F #7FCA84 #7FA0CA
split-complementary
#CA7FC5 #A0CA7F #7FCAAA
monochromatic
#923C8C #B854B1 #CA7FC5 #DCAAD9 #EED6EC

Accessibility & contrast

On white

2.86
#CA7FC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CA7FC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FC5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FC5#FFFFFF#000000##000000
##CA7FC51.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93C8
Deuteranopia (green-blind)
#8E9CC3
Tritanopia (blue-blind)
#CF8599
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7fc5;
/* rgb */ color: rgb(202, 127, 197);
/* oklch */ color: oklch(69.8% 0.130 329.2);
Tailwind
colors: {
  custom: {
    50: '#dba5d6',
    500: '#ca7fc5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fc5;
$custom-light: #dba5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fc5",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 304,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69828,
    "c": 0.12968,
    "h": 329.2
  },
  "luminance": 0.31767
}

Semantic roles & 50–950 ramp

primary
#CA7FC5
secondary
#C5DFC7
accent
#B43A31
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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