#CA7AC2#CA7AC2

#CA7AC2 is a light, vivid purple. Relative luminance 0.304; OKLCH L 68.9% C 0.136 H 330.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CA7AC2
RGBrgb(202, 122, 194)
HSLhsl(306, 43%, 64%)
HSVhsv(306, 40%, 79%)
CMYKcmyk(0%, 39.6%, 4%, 20.8%)
CIE-LABlab(61.97, 41.86, -24.58)
CIE-LCHlch(61.97, 48.54, 329.58°)
OKLaboklab(68.9% 0.1182 -0.0666)
OKLCHoklch(68.9% 0.136 330.6)
XYZxyz(41.0538, 30.3727, 54.7285)
Luminance0.3037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AC2 #7ACA82
analogous
#AA7ACA #CA7AC2 #CA7A9A
triadic
#CA7AC2 #C2CA7A #7AC2CA
tetradic
#CA7AC2 #CAAA7A #7ACA82 #7A9ACA
square
#CA7AC2 #CAAA7A #7ACA82 #7A9ACA
split-complementary
#CA7AC2 #9ACA7A #7ACAAA
monochromatic
#903987 #B94EAE #CA7AC2 #DBA6D6 #EDD2EA

Accessibility & contrast

On white

2.97
#CA7AC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CA7AC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AC2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AC2#FFFFFF#000000##000000
##CA7AC21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC5
Deuteranopia (green-blind)
#8C9AC0
Tritanopia (blue-blind)
#D08095
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7ac2;
/* rgb */ color: rgb(202, 122, 194);
/* oklch */ color: oklch(68.9% 0.136 330.6);
Tailwind
colors: {
  custom: {
    50: '#dba2d4',
    500: '#ca7ac2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ac2;
$custom-light: #dba2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ac2",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 306,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68904,
    "c": 0.13569,
    "h": 330.6
  },
  "luminance": 0.30371
}

Semantic roles & 50–950 ramp

primary
#CA7AC2
secondary
#C2DEC5
accent
#B63D2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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