#CA7BD5#CA7BD5

#CA7BD5 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.9% C 0.152 H 322.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CA7BD5
RGBrgb(202, 123, 213)
HSLhsl(293, 52%, 66%)
HSVhsv(293, 42%, 84%)
CMYKcmyk(5.2%, 42.3%, 0%, 16.5%)
CIE-LABlab(62.95, 44.86, -33.76)
CIE-LCHlch(62.95, 56.15, 323.03°)
OKLaboklab(69.89% 0.1209 -0.0927)
OKLCHoklch(69.89% 0.152 322.5)
XYZxyz(43.4490, 31.5283, 66.7348)
Luminance0.3153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BD5 #86D57B
analogous
#9D7BD5 #CA7BD5 #D57BB3
triadic
#CA7BD5 #D5CA7B #7BD5CA
tetradic
#CA7BD5 #D59D7B #86D57B #7BB3D5
square
#CA7BD5 #D59D7B #86D57B #7BB3D5
split-complementary
#CA7BD5 #B3D57B #7BD59D
monochromatic
#9534A2 #B74DC6 #CA7BD5 #DDA9E4 #EFD8F3

Accessibility & contrast

On white

2.87
#CA7BD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CA7BD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BD5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BD5#FFFFFF#000000##000000
##CA7BD51.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7092D8
Deuteranopia (green-blind)
#859CD2
Tritanopia (blue-blind)
#CD859E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7bd5;
/* rgb */ color: rgb(202, 123, 213);
/* oklch */ color: oklch(69.9% 0.152 322.5);
Tailwind
colors: {
  custom: {
    50: '#dca3e2',
    500: '#ca7bd5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bd5;
$custom-light: #dca3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bd5",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 292.667,
    "s": 51.724,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69889,
    "c": 0.15236,
    "h": 322.5
  },
  "luminance": 0.31527
}

Semantic roles & 50–950 ramp

primary
#CA7BD5
secondary
#CBE5C7
accent
#BF2639
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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