#CA7ACA#CA7ACA

#CA7ACA is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.2% C 0.143 H 327.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CA7ACA
RGBrgb(202, 122, 202)
HSLhsl(300, 43%, 64%)
HSVhsv(300, 40%, 79%)
CMYKcmyk(0%, 39.6%, 0%, 20.8%)
CIE-LABlab(62.29, 43.31, -28.61)
CIE-LCHlch(62.29, 51.91, 326.55°)
OKLaboklab(69.24% 0.1201 -0.078)
OKLCHoklch(69.24% 0.143 327)
XYZxyz(41.9765, 30.7418, 59.5883)
Luminance0.3074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7ACA #7ACA7A
analogous
#A27ACA #CA7ACA #CA7AA2
triadic
#CA7ACA #CACA7A #7ACACA
tetradic
#CA7ACA #CAA27A #7ACA7A #7AA2CA
square
#CA7ACA #CAA27A #7ACA7A #7AA2CA
split-complementary
#CA7ACA #A2CA7A #7ACAA2
monochromatic
#903990 #B94EB9 #CA7ACA #DBA6DB #EDD2ED

Accessibility & contrast

On white

2.94
#CA7ACA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CA7ACA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7ACA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7ACA#FFFFFF#000000##000000
##CA7ACA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#899AC7
Tritanopia (blue-blind)
#CF8299
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7aca;
/* rgb */ color: rgb(202, 122, 202);
/* oklch */ color: oklch(69.2% 0.143 327.0);
Tailwind
colors: {
  custom: {
    50: '#dba2da',
    500: '#ca7aca',
    950: '#000000',
  },
}
SCSS
$custom: #ca7aca;
$custom-light: #dba2da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7aca",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69244,
    "c": 0.14319,
    "h": 327
  },
  "luminance": 0.3074
}

Semantic roles & 50–950 ramp

primary
#CA7ACA
secondary
#C2DEC2
accent
#B62F2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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