#CA7FC7#CA7FC7

#CA7FC7 is a light, vivid purple. Relative luminance 0.319; OKLCH L 69.9% C 0.132 H 328.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CA7FC7
RGBrgb(202, 127, 199)
HSLhsl(302, 41%, 65%)
HSVhsv(302, 37%, 79%)
CMYKcmyk(0%, 37.1%, 1.5%, 20.8%)
CIE-LABlab(63.23, 40.11, -25.48)
CIE-LCHlch(63.23, 47.51, 327.58°)
OKLaboklab(69.91% 0.1119 -0.0692)
OKLCHoklch(69.91% 0.132 328.3)
XYZxyz(42.2546, 31.8607, 57.9457)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FC7 #7FCA82
analogous
#A87FCA #CA7FC7 #CA7FA2
triadic
#CA7FC7 #C7CA7F #7FC7CA
tetradic
#CA7FC7 #CAA87F #7FCA82 #7FA2CA
square
#CA7FC7 #CAA87F #7FCA82 #7FA2CA
split-complementary
#CA7FC7 #A2CA7F #7FCAA8
monochromatic
#923C8F #B854B4 #CA7FC7 #DCAADA #EED6ED

Accessibility & contrast

On white

2.85
#CA7FC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CA7FC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FC7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FC7#FFFFFF#000000##000000
##CA7FC71.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CA
Deuteranopia (green-blind)
#8E9DC5
Tritanopia (blue-blind)
#CF859A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7fc7;
/* rgb */ color: rgb(202, 127, 199);
/* oklch */ color: oklch(69.9% 0.132 328.3);
Tailwind
colors: {
  custom: {
    50: '#dba5d8',
    500: '#ca7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fc7;
$custom-light: #dba5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fc7",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 302.4,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.13159,
    "h": 328.3
  },
  "luminance": 0.31859
}

Semantic roles & 50–950 ramp

primary
#CA7FC7
secondary
#C5DFC6
accent
#B43631
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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