#CA7BDC#CA7BDC

#CA7BDC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.2% C 0.160 H 320.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CA7BDC
RGBrgb(202, 123, 220)
HSLhsl(289, 58%, 67%)
HSVhsv(289, 44%, 86%)
CMYKcmyk(8.2%, 44.1%, 0%, 13.7%)
CIE-LABlab(63.25, 46.22, -37.21)
CIE-LCHlch(63.25, 59.34, 321.17°)
OKLaboklab(70.21% 0.1222 -0.1026)
OKLCHoklch(70.21% 0.16 320)
XYZxyz(44.3567, 31.8914, 71.5154)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BDC #8DDC7B
analogous
#9A7BDC #CA7BDC #DC7BBE
triadic
#CA7BDC #DCCA7B #7BDCCA
tetradic
#CA7BDC #DC9A7B #8DDC7B #7BBEDC
square
#CA7BDC #DC9A7B #8DDC7B #7BBEDC
split-complementary
#CA7BDC #BEDC7B #7BDC9A
monochromatic
#972EAE #B74BCF #CA7BDC #DDABE9 #F1DCF6

Accessibility & contrast

On white

2.85
#CA7BDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CA7BDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BDC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BDC#FFFFFF#000000##000000
##CA7BDC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94DF
Deuteranopia (green-blind)
#829CD9
Tritanopia (blue-blind)
#CB87A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7bdc;
/* rgb */ color: rgb(202, 123, 220);
/* oklch */ color: oklch(70.2% 0.160 320.0);
Tailwind
colors: {
  custom: {
    50: '#dca3e7',
    500: '#ca7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bdc;
$custom-light: #dca3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bdc",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 288.866,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70214,
    "c": 0.15955,
    "h": 320
  },
  "luminance": 0.3189
}

Semantic roles & 50–950 ramp

primary
#CA7BDC
secondary
#D0E9CA
accent
#C6203F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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