#CA7CDA#CA7CDA

#CA7CDA is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.3% C 0.156 H 320.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CA7CDA
RGBrgb(202, 124, 218)
HSLhsl(290, 56%, 67%)
HSVhsv(290, 43%, 85%)
CMYKcmyk(7.3%, 43.1%, 0%, 14.5%)
CIE-LABlab(63.37, 45.31, -35.91)
CIE-LCHlch(63.37, 57.81, 321.60°)
OKLaboklab(70.27% 0.1204 -0.0988)
OKLCHoklch(70.27% 0.156 320.6)
XYZxyz(44.2181, 32.0354, 70.1703)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CDA #8CDA7C
analogous
#9B7CDA #CA7CDA #DA7CBB
triadic
#CA7CDA #DACA7C #7CDACA
tetradic
#CA7CDA #DA9B7C #8CDA7C #7CBBDA
square
#CA7CDA #DA9B7C #8CDA7C #7CBBDA
split-complementary
#CA7CDA #BBDA7C #7CDA9B
monochromatic
#9630AB #B74CCD #CA7CDA #DDACE7 #F1DBF5

Accessibility & contrast

On white

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

On black

7.41
#CA7CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CDA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CDA#FFFFFF#000000##000000
##CA7CDA1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DD
Deuteranopia (green-blind)
#849CD7
Tritanopia (blue-blind)
#CC88A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7cda;
/* rgb */ color: rgb(202, 124, 218);
/* oklch */ color: oklch(70.3% 0.156 320.6);
Tailwind
colors: {
  custom: {
    50: '#dca4e5',
    500: '#ca7cda',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cda;
$custom-light: #dca4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cda",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 289.787,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.1558,
    "h": 320.6
  },
  "luminance": 0.32034
}

Semantic roles & 50–950 ramp

primary
#CA7CDA
secondary
#CFE8CA
accent
#C3223E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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