#CA7FDA#CA7FDA

#CA7FDA is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.7% C 0.151 H 320.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CA7FDA
RGBrgb(202, 127, 218)
HSLhsl(289, 55%, 68%)
HSVhsv(289, 42%, 85%)
CMYKcmyk(7.3%, 41.7%, 0%, 14.5%)
CIE-LABlab(64.00, 43.72, -34.93)
CIE-LCHlch(64.00, 55.96, 321.38°)
OKLaboklab(70.74% 0.1161 -0.0961)
OKLCHoklch(70.74% 0.151 320.4)
XYZxyz(44.5998, 32.7988, 70.2975)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FDA #8FDA7F
analogous
#9D7FDA #CA7FDA #DA7FBC
triadic
#CA7FDA #DACA7F #7FDACA
tetradic
#CA7FDA #DA9D7F #8FDA7F #7FBCDA
square
#CA7FDA #DA9D7F #8FDA7F #7FBCDA
split-complementary
#CA7FDA #BCDA7F #7FDA9D
monochromatic
#9732AD #B650CC #CA7FDA #DEAEE8 #F1DEF5

Accessibility & contrast

On white

2.78
#CA7FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CA7FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FDA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FDA#FFFFFF#000000##000000
##CA7FDA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DD
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#CB8AA2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7fda;
/* rgb */ color: rgb(202, 127, 218);
/* oklch */ color: oklch(70.7% 0.151 320.4);
Tailwind
colors: {
  custom: {
    50: '#dba6e5',
    500: '#ca7fda',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fda;
$custom-light: #dba6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fda",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 289.451,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70742,
    "c": 0.15071,
    "h": 320.4
  },
  "luminance": 0.32797
}

Semantic roles & 50–950 ramp

primary
#CA7FDA
secondary
#D1E9CC
accent
#C3233F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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