#CA7FD0#CA7FD0

#CA7FD0 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.3% C 0.140 H 324.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CA7FD0
RGBrgb(202, 127, 208)
HSLhsl(296, 46%, 66%)
HSVhsv(296, 39%, 82%)
CMYKcmyk(2.9%, 38.9%, 0%, 18.4%)
CIE-LABlab(63.58, 41.79, -29.98)
CIE-LCHlch(63.58, 51.43, 324.34°)
OKLaboklab(70.3% 0.114 -0.082)
OKLCHoklch(70.3% 0.14 324.3)
XYZxyz(43.3305, 32.2911, 63.6126)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FD0 #85D07F
analogous
#A17FD0 #CA7FD0 #D07FAD
triadic
#CA7FD0 #D0CA7F #7FD0CA
tetradic
#CA7FD0 #D0A17F #85D07F #7FADD0
square
#CA7FD0 #D0A17F #85D07F #7FADD0
split-complementary
#CA7FD0 #ADD07F #7FD0A1
monochromatic
#94399C #B752C0 #CA7FD0 #DDACE0 #EFD9F1

Accessibility & contrast

On white

2.82
#CA7FD0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CA7FD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FD0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FD0#FFFFFF#000000##000000
##CA7FD01.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D3
Deuteranopia (green-blind)
#8A9DCD
Tritanopia (blue-blind)
#CD889E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7fd0;
/* rgb */ color: rgb(202, 127, 208);
/* oklch */ color: oklch(70.3% 0.140 324.3);
Tailwind
colors: {
  custom: {
    50: '#dba6de',
    500: '#ca7fd0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fd0;
$custom-light: #dba6de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fd0",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 208
  },
  "hsl": {
    "h": 295.556,
    "s": 46.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70295,
    "c": 0.14043,
    "h": 324.3
  },
  "luminance": 0.32289
}

Semantic roles & 50–950 ramp

primary
#CA7FD0
secondary
#CAE3C8
accent
#BA2C36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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