#CA7FDC#CA7FDC

#CA7FDC is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.8% C 0.153 H 319.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CA7FDC
RGBrgb(202, 127, 220)
HSLhsl(288, 57%, 68%)
HSVhsv(288, 42%, 86%)
CMYKcmyk(8.2%, 42.3%, 0%, 13.7%)
CIE-LABlab(64.08, 44.12, -35.91)
CIE-LCHlch(64.08, 56.89, 320.85°)
OKLaboklab(70.83% 0.1165 -0.0989)
OKLCHoklch(70.83% 0.153 319.7)
XYZxyz(44.8631, 32.9041, 71.6842)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FDC #91DC7F
analogous
#9B7FDC #CA7FDC #DC7FBF
triadic
#CA7FDC #DCCA7F #7FDCCA
tetradic
#CA7FDC #DC9B7F #91DC7F #7FBFDC
square
#CA7FDC #DC9B7F #91DC7F #7FBFDC
split-complementary
#CA7FDC #BFDC7F #7FDC9B
monochromatic
#9830B0 #B64FCF #CA7FDC #DEAFE9 #F2DFF6

Accessibility & contrast

On white

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

On black

7.58
#CA7FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FDC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FDC#FFFFFF#000000##000000
##CA7FDC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#859ED9
Tritanopia (blue-blind)
#CB8BA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7fdc;
/* rgb */ color: rgb(202, 127, 220);
/* oklch */ color: oklch(70.8% 0.153 319.7);
Tailwind
colors: {
  custom: {
    50: '#dca6e7',
    500: '#ca7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fdc;
$custom-light: #dca6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fdc",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 288.387,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70834,
    "c": 0.1528,
    "h": 319.7
  },
  "luminance": 0.32903
}

Semantic roles & 50–950 ramp

primary
#CA7FDC
secondary
#D3EACD
accent
#C52141
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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