#CA7EC9#CA7EC9

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

Color values

HEX#CA7EC9
RGBrgb(202, 126, 201)
HSLhsl(301, 42%, 64%)
HSVhsv(301, 38%, 79%)
CMYKcmyk(0%, 37.6%, 0.5%, 20.8%)
CIE-LABlab(63.09, 41.01, -26.81)
CIE-LCHlch(63.09, 49.00, 326.82°)
OKLaboklab(69.83% 0.1139 -0.073)
OKLCHoklch(69.83% 0.135 327.4)
XYZxyz(42.3598, 31.6972, 59.1339)
Luminance0.3170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EC9 #7ECA7F
analogous
#A57ECA #CA7EC9 #CA7EA3
triadic
#CA7EC9 #C9CA7E #7EC9CA
tetradic
#CA7EC9 #CAA57E #7ECA7F #7EA3CA
square
#CA7EC9 #CAA57E #7ECA7F #7EA3CA
split-complementary
#CA7EC9 #A3CA7E #7ECAA5
monochromatic
#923C91 #B853B7 #CA7EC9 #DCA9DB #EED5ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7EC9#FFFFFF#000000##000000
##CA7EC91.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)
#7993CC
Deuteranopia (green-blind)
#8C9CC6
Tritanopia (blue-blind)
#CF859A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7ec9;
/* rgb */ color: rgb(202, 126, 201);
/* oklch */ color: oklch(69.8% 0.135 327.4);
Tailwind
colors: {
  custom: {
    50: '#dba5d9',
    500: '#ca7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ec9;
$custom-light: #dba5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ec9",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 300.789,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69834,
    "c": 0.13526,
    "h": 327.4
  },
  "luminance": 0.31695
}

Semantic roles & 50–950 ramp

primary
#CA7EC9
secondary
#C5DFC5
accent
#B53231
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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