#CA7CDE#CA7CDE

#CA7CDE is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.160 H 319.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CA7CDE
RGBrgb(202, 124, 222)
HSLhsl(288, 60%, 68%)
HSVhsv(288, 44%, 87%)
CMYKcmyk(9%, 44.1%, 0%, 12.9%)
CIE-LABlab(63.55, 46.09, -37.86)
CIE-LCHlch(63.55, 59.65, 320.60°)
OKLaboklab(70.46% 0.1211 -0.1045)
OKLCHoklch(70.46% 0.16 319.2)
XYZxyz(44.7479, 32.2473, 72.9603)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CDE #90DE7C
analogous
#997CDE #CA7CDE #DE7CC1
triadic
#CA7CDE #DECA7C #7CDECA
tetradic
#CA7CDE #DE997C #90DE7C #7CC1DE
square
#CA7CDE #DE997C #90DE7C #7CC1DE
split-complementary
#CA7CDE #C1DE7C #7CDE99
monochromatic
#972DB3 #B64BD2 #CA7CDE #DEADEA #F2DEF7

Accessibility & contrast

On white

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

On black

7.45
#CA7CDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CDE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CDE#FFFFFF#000000##000000
##CA7CDE1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E1
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#CB89A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7cde;
/* rgb */ color: rgb(202, 124, 222);
/* oklch */ color: oklch(70.5% 0.160 319.2);
Tailwind
colors: {
  custom: {
    50: '#dca4e8',
    500: '#ca7cde',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cde;
$custom-light: #dca4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cde",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 222
  },
  "hsl": {
    "h": 287.755,
    "s": 59.756,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70462,
    "c": 0.15996,
    "h": 319.2
  },
  "luminance": 0.32246
}

Semantic roles & 50–950 ramp

primary
#CA7CDE
secondary
#D2EACC
accent
#C71E41
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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