#CA7DBE#CA7DBE

#CA7DBE is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.2% C 0.127 H 332.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CA7DBE
RGBrgb(202, 125, 190)
HSLhsl(309, 42%, 64%)
HSVhsv(309, 38%, 79%)
CMYKcmyk(0%, 38.1%, 5.9%, 20.8%)
CIE-LABlab(62.46, 39.55, -21.57)
CIE-LCHlch(62.46, 45.06, 331.39°)
OKLaboklab(69.22% 0.1126 -0.0582)
OKLCHoklch(69.22% 0.127 332.7)
XYZxyz(40.9846, 30.9435, 52.5191)
Luminance0.3094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DBE #7DCA89
analogous
#B07DCA #CA7DBE #CA7D98
triadic
#CA7DBE #BECA7D #7DBECA
tetradic
#CA7DBE #CAB07D #7DCA89 #7D98CA
square
#CA7DBE #CAB07D #7DCA89 #7D98CA
split-complementary
#CA7DBE #98CA7D #7DCAB0
monochromatic
#913B84 #B852A8 #CA7DBE #DCA8D4 #EDD4E9

Accessibility & contrast

On white

2.92
#CA7DBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CA7DBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DBE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DBE#FFFFFF#000000##000000
##CA7DBE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C90C0
Deuteranopia (green-blind)
#8F9BBC
Tritanopia (blue-blind)
#D08195
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7dbe;
/* rgb */ color: rgb(202, 125, 190);
/* oklch */ color: oklch(69.2% 0.127 332.7);
Tailwind
colors: {
  custom: {
    50: '#dba4d1',
    500: '#ca7dbe',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dbe;
$custom-light: #dba4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dbe",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 309.351,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6922,
    "c": 0.12679,
    "h": 332.7
  },
  "luminance": 0.30941
}

Semantic roles & 50–950 ramp

primary
#CA7DBE
secondary
#C4DFC8
accent
#B54530
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA7DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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