#CA7FDD#CA7FDD

#CA7FDD is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.9% C 0.154 H 319.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CA7FDD
RGBrgb(202, 127, 221)
HSLhsl(288, 58%, 68%)
HSVhsv(288, 43%, 87%)
CMYKcmyk(8.6%, 42.5%, 0%, 13.3%)
CIE-LABlab(64.13, 44.31, -36.40)
CIE-LCHlch(64.13, 57.35, 320.60°)
OKLaboklab(70.88% 0.1167 -0.1003)
OKLCHoklch(70.88% 0.154 319.3)
XYZxyz(44.9959, 32.9572, 72.3837)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FDD #92DD7F
analogous
#9B7FDD #CA7FDD #DD7FC1
triadic
#CA7FDD #DDCA7F #7FDDCA
tetradic
#CA7FDD #DD9B7F #92DD7F #7FC1DD
square
#CA7FDD #DD9B7F #92DD7F #7FC1DD
split-complementary
#CA7FDD #C1DD7F #7FDD9B
monochromatic
#982FB2 #B64FD0 #CA7FDD #DEAFEA #F2E0F7

Accessibility & contrast

On white

2.77
#CA7FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CA7FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FDD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FDD#FFFFFF#000000##000000
##CA7FDD1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196E0
Deuteranopia (green-blind)
#859EDA
Tritanopia (blue-blind)
#CB8BA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7fdd;
/* rgb */ color: rgb(202, 127, 221);
/* oklch */ color: oklch(70.9% 0.154 319.3);
Tailwind
colors: {
  custom: {
    50: '#dca6e8',
    500: '#ca7fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fdd;
$custom-light: #dca6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fdd",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 287.872,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70881,
    "c": 0.15386,
    "h": 319.3
  },
  "luminance": 0.32956
}

Semantic roles & 50–950 ramp

primary
#CA7FDD
secondary
#D3EACE
accent
#C62041
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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