#CA7DDA#CA7DDA

#CA7DDA is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.4% C 0.154 H 320.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CA7DDA
RGBrgb(202, 125, 218)
HSLhsl(290, 56%, 67%)
HSVhsv(290, 43%, 85%)
CMYKcmyk(7.3%, 42.7%, 0%, 14.5%)
CIE-LABlab(63.58, 44.78, -35.58)
CIE-LCHlch(63.58, 57.20, 321.53°)
OKLaboklab(70.43% 0.119 -0.0979)
OKLCHoklch(70.43% 0.154 320.5)
XYZxyz(44.3441, 32.2873, 70.2123)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DDA #8DDA7D
analogous
#9B7DDA #CA7DDA #DA7DBC
triadic
#CA7DDA #DACA7D #7DDACA
tetradic
#CA7DDA #DA9B7D #8DDA7D #7DBCDA
square
#CA7DDA #DA9B7D #8DDA7D #7DBCDA
split-complementary
#CA7DDA #BCDA7D #7DDA9B
monochromatic
#9731AC #B74DCC #CA7DDA #DDADE8 #F1DCF5

Accessibility & contrast

On white

2.82
#CA7DDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CA7DDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DDA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DDA#FFFFFF#000000##000000
##CA7DDA1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DD
Deuteranopia (green-blind)
#859DD7
Tritanopia (blue-blind)
#CB88A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7dda;
/* rgb */ color: rgb(202, 125, 218);
/* oklch */ color: oklch(70.4% 0.154 320.5);
Tailwind
colors: {
  custom: {
    50: '#dca4e5',
    500: '#ca7dda',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dda;
$custom-light: #dca4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dda",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 218
  },
  "hsl": {
    "h": 289.677,
    "s": 55.689,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70429,
    "c": 0.1541,
    "h": 320.5
  },
  "luminance": 0.32286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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