#CA7DCE#CA7DCE

#CA7DCE is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.9% C 0.142 H 325.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CA7DCE
RGBrgb(202, 125, 206)
HSLhsl(297, 45%, 65%)
HSVhsv(297, 39%, 81%)
CMYKcmyk(1.9%, 39.3%, 0%, 19.2%)
CIE-LABlab(63.08, 42.47, -29.64)
CIE-LCHlch(63.08, 51.79, 325.09°)
OKLaboklab(69.89% 0.1165 -0.081)
OKLCHoklch(69.89% 0.142 325.2)
XYZxyz(42.8303, 31.6818, 62.2397)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DCE #81CE7D
analogous
#A27DCE #CA7DCE #CE7DAA
triadic
#CA7DCE #CECA7D #7DCECA
tetradic
#CA7DCE #CEA27D #81CE7D #7DAACE
square
#CA7DCE #CEA27D #81CE7D #7DAACE
split-complementary
#CA7DCE #AACE7D #7DCEA2
monochromatic
#933997 #B851BD #CA7DCE #DCA9DF #EED6F0

Accessibility & contrast

On white

2.86
#CA7DCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CA7DCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DCE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DCE#FFFFFF#000000##000000
##CA7DCE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D1
Deuteranopia (green-blind)
#8A9CCB
Tritanopia (blue-blind)
#CE859C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7dce;
/* rgb */ color: rgb(202, 125, 206);
/* oklch */ color: oklch(69.9% 0.142 325.2);
Tailwind
colors: {
  custom: {
    50: '#dba4dd',
    500: '#ca7dce',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dce;
$custom-light: #dba4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dce",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 297.037,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6989,
    "c": 0.1419,
    "h": 325.2
  },
  "luminance": 0.3168
}

Semantic roles & 50–950 ramp

primary
#CA7DCE
secondary
#C7E1C6
accent
#B82D34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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