#CA7EC1#CA7EC1

#CA7EC1 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.5% C 0.128 H 331.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CA7EC1
RGBrgb(202, 126, 193)
HSLhsl(307, 42%, 64%)
HSVhsv(307, 38%, 79%)
CMYKcmyk(0%, 37.6%, 4.5%, 20.8%)
CIE-LABlab(62.79, 39.55, -22.77)
CIE-LCHlch(62.79, 45.64, 330.07°)
OKLaboklab(69.5% 0.1119 -0.0616)
OKLCHoklch(69.5% 0.128 331.2)
XYZxyz(41.4431, 31.3305, 54.3062)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EC1 #7ECA87
analogous
#AD7ECA #CA7EC1 #CA7E9B
triadic
#CA7EC1 #C1CA7E #7EC1CA
tetradic
#CA7EC1 #CAAD7E #7ECA87 #7E9BCA
square
#CA7EC1 #CAAD7E #7ECA87 #7E9BCA
split-complementary
#CA7EC1 #9BCA7E #7ECAAD
monochromatic
#923C88 #B853AC #CA7EC1 #DCA9D6 #EED5EB

Accessibility & contrast

On white

2.89
#CA7EC1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CA7EC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EC1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EC1#FFFFFF#000000##000000
##CA7EC11.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C91C3
Deuteranopia (green-blind)
#8F9CBF
Tritanopia (blue-blind)
#D08397
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ec1;
/* rgb */ color: rgb(202, 126, 193);
/* oklch */ color: oklch(69.5% 0.128 331.2);
Tailwind
colors: {
  custom: {
    50: '#dba5d4',
    500: '#ca7ec1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ec1;
$custom-light: #dba5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ec1",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 193
  },
  "hsl": {
    "h": 307.105,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69502,
    "c": 0.12773,
    "h": 331.2
  },
  "luminance": 0.31329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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