#CA7BD9#CA7BD9

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

Color values

HEX#CA7BD9
RGBrgb(202, 123, 217)
HSLhsl(290, 55%, 67%)
HSVhsv(290, 43%, 85%)
CMYKcmyk(6.9%, 43.3%, 0%, 14.9%)
CIE-LABlab(63.12, 45.64, -35.74)
CIE-LCHlch(63.12, 57.96, 321.94°)
OKLaboklab(70.07% 0.1217 -0.0984)
OKLCHoklch(70.07% 0.156 321)
XYZxyz(43.9630, 31.7339, 69.4416)
Luminance0.3173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BD9 #8AD97B
analogous
#9B7BD9 #CA7BD9 #D97BB9
triadic
#CA7BD9 #D9CA7B #7BD9CA
tetradic
#CA7BD9 #D99B7B #8AD97B #7BB9D9
square
#CA7BD9 #D99B7B #8AD97B #7BB9D9
split-complementary
#CA7BD9 #B9D97B #7BD99B
monochromatic
#9631A9 #B74BCB #CA7BD9 #DDABE7 #F0DAF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7BD9#FFFFFF#000000##000000
##CA7BD91.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)
#6E93DC
Deuteranopia (green-blind)
#849CD6
Tritanopia (blue-blind)
#CC87A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7bd9;
/* rgb */ color: rgb(202, 123, 217);
/* oklch */ color: oklch(70.1% 0.156 321.0);
Tailwind
colors: {
  custom: {
    50: '#dca3e5',
    500: '#ca7bd9',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bd9;
$custom-light: #dca3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bd9",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 290.426,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70073,
    "c": 0.15645,
    "h": 321
  },
  "luminance": 0.31732
}

Semantic roles & 50–950 ramp

primary
#CA7BD9
secondary
#CEE7C9
accent
#C3233C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CA7BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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