#CA7FC4#CA7FC4

#CA7FC4 is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.8% C 0.129 H 329.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CA7FC4
RGBrgb(202, 127, 196)
HSLhsl(305, 41%, 65%)
HSVhsv(305, 37%, 79%)
CMYKcmyk(0%, 37.1%, 3%, 20.8%)
CIE-LABlab(63.11, 39.56, -23.96)
CIE-LCHlch(63.11, 46.25, 328.80°)
OKLaboklab(69.79% 0.1112 -0.0649)
OKLCHoklch(69.79% 0.129 329.7)
XYZxyz(41.9097, 31.7227, 56.1294)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FC4 #7FCA85
analogous
#AB7FCA #CA7FC4 #CA7F9F
triadic
#CA7FC4 #C4CA7F #7FC4CA
tetradic
#CA7FC4 #CAAB7F #7FCA85 #7F9FCA
square
#CA7FC4 #CAAB7F #7FCA85 #7F9FCA
split-complementary
#CA7FC4 #9FCA7F #7FCAAB
monochromatic
#923C8B #B854B0 #CA7FC4 #DCAAD8 #EED6EC

Accessibility & contrast

On white

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

On black

7.34
#CA7FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FC4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FC4#FFFFFF#000000##000000
##CA7FC41.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7fc4;
/* rgb */ color: rgb(202, 127, 196);
/* oklch */ color: oklch(69.8% 0.129 329.7);
Tailwind
colors: {
  custom: {
    50: '#dba5d6',
    500: '#ca7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fc4;
$custom-light: #dba5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fc4",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 304.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69787,
    "c": 0.12874,
    "h": 329.7
  },
  "luminance": 0.31721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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