#CA7BD4#CA7BD4

#CA7BD4 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.8% C 0.151 H 322.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CA7BD4
RGBrgb(202, 123, 212)
HSLhsl(293, 51%, 66%)
HSVhsv(293, 42%, 83%)
CMYKcmyk(4.7%, 42%, 0%, 16.9%)
CIE-LABlab(62.91, 44.67, -33.27)
CIE-LCHlch(62.91, 55.70, 323.32°)
OKLaboklab(69.84% 0.1207 -0.0913)
OKLCHoklch(69.84% 0.151 322.9)
XYZxyz(43.3225, 31.4777, 66.0684)
Luminance0.3148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BD4 #85D47B
analogous
#9D7BD4 #CA7BD4 #D47BB1
triadic
#CA7BD4 #D4CA7B #7BD4CA
tetradic
#CA7BD4 #D49D7B #85D47B #7BB1D4
square
#CA7BD4 #D49D7B #85D47B #7BB1D4
split-complementary
#CA7BD4 #B1D47B #7BD49D
monochromatic
#9434A0 #B74DC5 #CA7BD4 #DDA9E3 #EFD7F2

Accessibility & contrast

On white

2.88
#CA7BD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CA7BD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BD4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BD4#FFFFFF#000000##000000
##CA7BD41.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7092D7
Deuteranopia (green-blind)
#869BD1
Tritanopia (blue-blind)
#CD859E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7bd4;
/* rgb */ color: rgb(202, 123, 212);
/* oklch */ color: oklch(69.8% 0.151 322.9);
Tailwind
colors: {
  custom: {
    50: '#dca3e1',
    500: '#ca7bd4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bd4;
$custom-light: #dca3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bd4",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 293.258,
    "s": 50.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69843,
    "c": 0.15135,
    "h": 322.9
  },
  "luminance": 0.31476
}

Semantic roles & 50–950 ramp

primary
#CA7BD4
secondary
#CAE4C7
accent
#BE2738
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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