#CA7DCD#CA7DCD

#CA7DCD is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.141 H 325.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CA7DCD
RGBrgb(202, 125, 205)
HSLhsl(298, 44%, 65%)
HSVhsv(298, 39%, 80%)
CMYKcmyk(1.5%, 39%, 0%, 19.6%)
CIE-LABlab(63.04, 42.29, -29.14)
CIE-LCHlch(63.04, 51.35, 325.43°)
OKLaboklab(69.85% 0.1163 -0.0795)
OKLCHoklch(69.85% 0.141 325.6)
XYZxyz(42.7092, 31.6334, 61.6019)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DCD #80CD7D
analogous
#A27DCD #CA7DCD #CD7DA8
triadic
#CA7DCD #CDCA7D #7DCDCA
tetradic
#CA7DCD #CDA27D #80CD7D #7DA8CD
square
#CA7DCD #CDA27D #80CD7D #7DA8CD
split-complementary
#CA7DCD #A8CD7D #7DCDA2
monochromatic
#923A96 #B851BC #CA7DCD #DCA9DE #EED5EF

Accessibility & contrast

On white

2.87
#CA7DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CA7DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DCD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DCD#FFFFFF#000000##000000
##CA7DCD1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692D0
Deuteranopia (green-blind)
#8A9CCA
Tritanopia (blue-blind)
#CE859B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7dcd;
/* rgb */ color: rgb(202, 125, 205);
/* oklch */ color: oklch(69.8% 0.141 325.6);
Tailwind
colors: {
  custom: {
    50: '#dba4dc',
    500: '#ca7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dcd;
$custom-light: #dba4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dcd",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 297.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69846,
    "c": 0.14091,
    "h": 325.6
  },
  "luminance": 0.31632
}

Semantic roles & 50–950 ramp

primary
#CA7DCD
secondary
#C6E1C5
accent
#B82E33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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