#CA7AC0#CA7AC0

#CA7AC0 is a light, vivid purple. Relative luminance 0.303; OKLCH L 68.8% C 0.134 H 331.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CA7AC0
RGBrgb(202, 122, 192)
HSLhsl(308, 43%, 64%)
HSVhsv(308, 40%, 79%)
CMYKcmyk(0%, 39.6%, 5%, 20.8%)
CIE-LABlab(61.90, 41.50, -23.57)
CIE-LCHlch(61.90, 47.73, 330.41°)
OKLaboklab(68.82% 0.1177 -0.0638)
OKLCHoklch(68.82% 0.134 331.6)
XYZxyz(40.8307, 30.2835, 53.5536)
Luminance0.3028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AC0 #7ACA84
analogous
#AC7ACA #CA7AC0 #CA7A98
triadic
#CA7AC0 #C0CA7A #7AC0CA
tetradic
#CA7AC0 #CAAC7A #7ACA84 #7A98CA
square
#CA7AC0 #CAAC7A #7ACA84 #7A98CA
split-complementary
#CA7AC0 #98CA7A #7ACAAC
monochromatic
#903985 #B94EAB #CA7AC0 #DBA6D5 #EDD2E9

Accessibility & contrast

On white

2.98
#CA7AC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CA7AC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AC0
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AC0#FFFFFF#000000##000000
##CA7AC01.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#788FC3
Deuteranopia (green-blind)
#8C9ABE
Tritanopia (blue-blind)
#D07F94
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7ac0;
/* rgb */ color: rgb(202, 122, 192);
/* oklch */ color: oklch(68.8% 0.134 331.6);
Tailwind
colors: {
  custom: {
    50: '#dba2d3',
    500: '#ca7ac0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ac0;
$custom-light: #dba2d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ac0",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 192
  },
  "hsl": {
    "h": 307.5,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68821,
    "c": 0.13387,
    "h": 331.6
  },
  "luminance": 0.30281
}

Semantic roles & 50–950 ramp

primary
#CA7AC0
secondary
#C2DEC5
accent
#B6402F
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA7AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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