#CA7DCF#CA7DCF

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

Color values

HEX#CA7DCF
RGBrgb(202, 125, 207)
HSLhsl(296, 46%, 65%)
HSVhsv(296, 40%, 81%)
CMYKcmyk(2.4%, 39.6%, 0%, 18.8%)
CIE-LABlab(63.12, 42.66, -30.14)
CIE-LCHlch(63.12, 52.23, 324.76°)
OKLaboklab(69.93% 0.1168 -0.0824)
OKLCHoklch(69.93% 0.143 324.8)
XYZxyz(42.9522, 31.7305, 62.8815)
Luminance0.3173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DCF #82CF7D
analogous
#A17DCF #CA7DCF #CF7DAB
triadic
#CA7DCF #CFCA7D #7DCFCA
tetradic
#CA7DCF #CFA17D #82CF7D #7DABCF
square
#CA7DCF #CFA17D #82CF7D #7DABCF
split-complementary
#CA7DCF #ABCF7D #7DCFA1
monochromatic
#933999 #B850BE #CA7DCF #DCAAE0 #EED6F0

Accessibility & contrast

On white

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

On black

7.35
#CA7DCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DCF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DCF#FFFFFF#000000##000000
##CA7DCF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D2
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#CE869C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7dcf;
/* rgb */ color: rgb(202, 125, 207);
/* oklch */ color: oklch(69.9% 0.143 324.8);
Tailwind
colors: {
  custom: {
    50: '#dba4de',
    500: '#ca7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dcf;
$custom-light: #dba4de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dcf",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 296.341,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69933,
    "c": 0.14289,
    "h": 324.8
  },
  "luminance": 0.31729
}

Semantic roles & 50–950 ramp

primary
#CA7DCF
secondary
#C8E2C6
accent
#B92C35
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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