#CA7AC8#CA7AC8

#CA7AC8 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.2% C 0.141 H 327.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CA7AC8
RGBrgb(202, 122, 200)
HSLhsl(302, 43%, 64%)
HSVhsv(302, 40%, 79%)
CMYKcmyk(0%, 39.6%, 1%, 20.8%)
CIE-LABlab(62.21, 42.95, -27.61)
CIE-LCHlch(62.21, 51.05, 327.27°)
OKLaboklab(69.16% 0.1196 -0.0752)
OKLCHoklch(69.16% 0.141 327.9)
XYZxyz(41.7412, 30.6477, 58.3493)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AC8 #7ACA7C
analogous
#A47ACA #CA7AC8 #CA7AA0
triadic
#CA7AC8 #C8CA7A #7AC8CA
tetradic
#CA7AC8 #CAA47A #7ACA7C #7AA0CA
square
#CA7AC8 #CAA47A #7ACA7C #7AA0CA
split-complementary
#CA7AC8 #A0CA7A #7ACAA4
monochromatic
#90398E #B94EB6 #CA7AC8 #DBA6DA #EDD2EC

Accessibility & contrast

On white

2.95
#CA7AC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CA7AC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AC8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AC8#FFFFFF#000000##000000
##CA7AC81.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7590CB
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#CF8198
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7ac8;
/* rgb */ color: rgb(202, 122, 200);
/* oklch */ color: oklch(69.2% 0.141 327.9);
Tailwind
colors: {
  custom: {
    50: '#dba2d9',
    500: '#ca7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ac8;
$custom-light: #dba2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ac8",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 301.5,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69158,
    "c": 0.14128,
    "h": 327.9
  },
  "luminance": 0.30646
}

Semantic roles & 50–950 ramp

primary
#CA7AC8
secondary
#C2DEC2
accent
#B6332F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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