#CA7CD9#CA7CD9

#CA7CD9 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.155 H 321.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CA7CD9
RGBrgb(202, 124, 217)
HSLhsl(290, 55%, 67%)
HSVhsv(290, 43%, 85%)
CMYKcmyk(6.9%, 42.9%, 0%, 14.9%)
CIE-LABlab(63.33, 45.11, -35.41)
CIE-LCHlch(63.33, 57.35, 321.87°)
OKLaboklab(70.23% 0.1202 -0.0974)
OKLCHoklch(70.23% 0.155 321)
XYZxyz(44.0877, 31.9832, 69.4832)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD9 #8BD97C
analogous
#9C7CD9 #CA7CD9 #D97CB9
triadic
#CA7CD9 #D9CA7C #7CD9CA
tetradic
#CA7CD9 #D99C7C #8BD97C #7CB9D9
square
#CA7CD9 #D99C7C #8BD97C #7CB9D9
split-complementary
#CA7CD9 #B9D97C #7CD99C
monochromatic
#9631A9 #B74DCB #CA7CD9 #DDABE7 #F0DBF5

Accessibility & contrast

On white

2.84
#CA7CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CA7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD9
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD9#FFFFFF#000000##000000
##CA7CD91.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DC
Deuteranopia (green-blind)
#849CD6
Tritanopia (blue-blind)
#CC87A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7cd9;
/* rgb */ color: rgb(202, 124, 217);
/* oklch */ color: oklch(70.2% 0.155 321.0);
Tailwind
colors: {
  custom: {
    50: '#dca4e5',
    500: '#ca7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd9;
$custom-light: #dca4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd9",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 290.323,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70228,
    "c": 0.15476,
    "h": 321
  },
  "luminance": 0.31982
}

Semantic roles & 50–950 ramp

primary
#CA7CD9
secondary
#CEE7CA
accent
#C3233D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CA7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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