#CA7FD2#CA7FD2

#CA7FD2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.4% C 0.142 H 323.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CA7FD2
RGBrgb(202, 127, 210)
HSLhsl(294, 48%, 66%)
HSVhsv(294, 40%, 82%)
CMYKcmyk(3.8%, 39.5%, 0%, 17.6%)
CIE-LABlab(63.66, 42.17, -30.98)
CIE-LCHlch(63.66, 52.33, 323.70°)
OKLaboklab(70.38% 0.1145 -0.0848)
OKLCHoklch(70.38% 0.142 323.5)
XYZxyz(43.5781, 32.3901, 64.9167)
Luminance0.3239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FD2 #87D27F
analogous
#A07FD2 #CA7FD2 #D27FB0
triadic
#CA7FD2 #D2CA7F #7FD2CA
tetradic
#CA7FD2 #D2A07F #87D27F #7FB0D2
square
#CA7FD2 #D2A07F #87D27F #7FB0D2
split-complementary
#CA7FD2 #B0D27F #7FD2A0
monochromatic
#95389F #B752C2 #CA7FD2 #DDACE2 #EFDAF2

Accessibility & contrast

On white

2.81
#CA7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CA7FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FD2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FD2#FFFFFF#000000##000000
##CA7FD21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D5
Deuteranopia (green-blind)
#8A9DCF
Tritanopia (blue-blind)
#CD889F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7fd2;
/* rgb */ color: rgb(202, 127, 210);
/* oklch */ color: oklch(70.4% 0.142 323.5);
Tailwind
colors: {
  custom: {
    50: '#dba6e0',
    500: '#ca7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fd2;
$custom-light: #dba6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fd2",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 294.217,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70382,
    "c": 0.14245,
    "h": 323.5
  },
  "luminance": 0.32388
}

Semantic roles & 50–950 ramp

primary
#CA7FD2
secondary
#CBE4C9
accent
#BB2A38
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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