#CA7DC8#CA7DC8

#CA7DC8 is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.6% C 0.136 H 327.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CA7DC8
RGBrgb(202, 125, 200)
HSLhsl(302, 42%, 64%)
HSVhsv(302, 38%, 79%)
CMYKcmyk(0%, 38.1%, 1%, 20.8%)
CIE-LABlab(62.84, 41.36, -26.63)
CIE-LCHlch(62.84, 49.19, 327.22°)
OKLaboklab(69.63% 0.1152 -0.0724)
OKLCHoklch(69.63% 0.136 327.8)
XYZxyz(42.1153, 31.3958, 58.4740)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DC8 #7DCA7F
analogous
#A67DCA #CA7DC8 #CA7DA2
triadic
#CA7DC8 #C8CA7D #7DC8CA
tetradic
#CA7DC8 #CAA67D #7DCA7F #7DA2CA
square
#CA7DC8 #CAA67D #7DCA7F #7DA2CA
split-complementary
#CA7DC8 #A2CA7D #7DCAA6
monochromatic
#913B8F #B852B6 #CA7DC8 #DCA8DA #EDD4ED

Accessibility & contrast

On white

2.89
#CA7DC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CA7DC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DC8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DC8#FFFFFF#000000##000000
##CA7DC81.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CB
Deuteranopia (green-blind)
#8C9CC5
Tritanopia (blue-blind)
#CF8499
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7dc8;
/* rgb */ color: rgb(202, 125, 200);
/* oklch */ color: oklch(69.6% 0.136 327.8);
Tailwind
colors: {
  custom: {
    50: '#dba4d9',
    500: '#ca7dc8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dc8;
$custom-light: #dba4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dc8",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 301.558,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69632,
    "c": 0.13605,
    "h": 327.8
  },
  "luminance": 0.31394
}

Semantic roles & 50–950 ramp

primary
#CA7DC8
secondary
#C4DFC5
accent
#B53430
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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