#CA7ACD#CA7ACD

#CA7ACD is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.4% C 0.146 H 325.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CA7ACD
RGBrgb(202, 122, 205)
HSLhsl(298, 45%, 64%)
HSVhsv(298, 40%, 80%)
CMYKcmyk(1.5%, 40.5%, 0%, 19.6%)
CIE-LABlab(62.41, 43.87, -30.11)
CIE-LCHlch(62.41, 53.21, 325.54°)
OKLaboklab(69.38% 0.1207 -0.0823)
OKLCHoklch(69.38% 0.146 325.7)
XYZxyz(42.3352, 30.8853, 61.4772)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7ACD #7DCD7A
analogous
#A17ACD #CA7ACD #CD7AA7
triadic
#CA7ACD #CDCA7A #7ACDCA
tetradic
#CA7ACD #CDA17A #7DCD7A #7AA7CD
square
#CA7ACD #CDA17A #7DCD7A #7AA7CD
split-complementary
#CA7ACD #A7CD7A #7ACDA1
monochromatic
#913895 #B84EBC #CA7ACD #DCA6DE #EDD3EE

Accessibility & contrast

On white

2.93
#CA7ACD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CA7ACD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7ACD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7ACD#FFFFFF#000000##000000
##CA7ACD1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D0
Deuteranopia (green-blind)
#889ACA
Tritanopia (blue-blind)
#CE829A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7acd;
/* rgb */ color: rgb(202, 122, 205);
/* oklch */ color: oklch(69.4% 0.146 325.7);
Tailwind
colors: {
  custom: {
    50: '#dba2dc',
    500: '#ca7acd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7acd;
$custom-light: #dba2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7acd",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 205
  },
  "hsl": {
    "h": 297.831,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69375,
    "c": 0.14611,
    "h": 325.7
  },
  "luminance": 0.30883
}

Semantic roles & 50–950 ramp

primary
#CA7ACD
secondary
#C4E0C3
accent
#B92D32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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