#CA7BDA#CA7BDA

#CA7BDA is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.1% C 0.157 H 320.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CA7BDA
RGBrgb(202, 123, 218)
HSLhsl(290, 56%, 67%)
HSVhsv(290, 44%, 85%)
CMYKcmyk(7.3%, 43.6%, 0%, 14.5%)
CIE-LABlab(63.17, 45.83, -36.23)
CIE-LCHlch(63.17, 58.42, 321.68°)
OKLaboklab(70.12% 0.1219 -0.0998)
OKLCHoklch(70.12% 0.157 320.7)
XYZxyz(44.0934, 31.7860, 70.1287)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BDA #8BDA7B
analogous
#9B7BDA #CA7BDA #DA7BBB
triadic
#CA7BDA #DACA7B #7BDACA
tetradic
#CA7BDA #DA9B7B #8BDA7B #7BBBDA
square
#CA7BDA #DA9B7B #8BDA7B #7BBBDA
split-complementary
#CA7BDA #BBDA7B #7BDA9B
monochromatic
#9630AB #B74BCD #CA7BDA #DDABE7 #F0DBF5

Accessibility & contrast

On white

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

On black

7.36
#CA7BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BDA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BDA#FFFFFF#000000##000000
##CA7BDA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E93DD
Deuteranopia (green-blind)
#839CD7
Tritanopia (blue-blind)
#CC87A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7bda;
/* rgb */ color: rgb(202, 123, 218);
/* oklch */ color: oklch(70.1% 0.157 320.7);
Tailwind
colors: {
  custom: {
    50: '#dca3e6',
    500: '#ca7bda',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bda;
$custom-light: #dca3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bda",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 289.895,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7012,
    "c": 0.15748,
    "h": 320.7
  },
  "luminance": 0.31784
}

Semantic roles & 50–950 ramp

primary
#CA7BDA
secondary
#CEE8C9
accent
#C4223D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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