#CA7ACF#CA7ACF

#CA7ACF is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.5% C 0.148 H 324.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CA7ACF
RGBrgb(202, 122, 207)
HSLhsl(296, 47%, 65%)
HSVhsv(296, 41%, 81%)
CMYKcmyk(2.4%, 41.1%, 0%, 18.8%)
CIE-LABlab(62.49, 44.25, -31.11)
CIE-LCHlch(62.49, 54.09, 324.89°)
OKLaboklab(69.46% 0.1212 -0.0851)
OKLCHoklch(69.46% 0.148 324.9)
XYZxyz(42.5781, 30.9824, 62.7568)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7ACF #7FCF7A
analogous
#A07ACF #CA7ACF #CF7AA9
triadic
#CA7ACF #CFCA7A #7ACFCA
tetradic
#CA7ACF #CFA07A #7FCF7A #7AA9CF
square
#CA7ACF #CFA07A #7FCF7A #7AA9CF
split-complementary
#CA7ACF #A9CF7A #7ACFA0
monochromatic
#923798 #B84DBF #CA7ACF #DCA7DF #EED4EF

Accessibility & contrast

On white

2.92
#CA7ACF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CA7ACF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7ACF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7ACF#FFFFFF#000000##000000
##CA7ACF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D2
Deuteranopia (green-blind)
#879BCC
Tritanopia (blue-blind)
#CE839B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7acf;
/* rgb */ color: rgb(202, 122, 207);
/* oklch */ color: oklch(69.5% 0.148 324.9);
Tailwind
colors: {
  custom: {
    50: '#dca2de',
    500: '#ca7acf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7acf;
$custom-light: #dca2de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7acf",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 296.471,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69464,
    "c": 0.14807,
    "h": 324.9
  },
  "luminance": 0.30981
}

Semantic roles & 50–950 ramp

primary
#CA7ACF
secondary
#C5E1C4
accent
#BA2B34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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