#CA7FE5#CA7FE5

#CA7FE5 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.162 H 316.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CA7FE5
RGBrgb(202, 127, 229)
HSLhsl(284, 66%, 70%)
HSVhsv(284, 45%, 90%)
CMYKcmyk(11.8%, 44.5%, 0%, 10.2%)
CIE-LABlab(64.48, 45.92, -40.30)
CIE-LCHlch(64.48, 61.10, 318.73°)
OKLaboklab(71.26% 0.1181 -0.1115)
OKLCHoklch(71.26% 0.162 316.6)
XYZxyz(46.0873, 33.3938, 78.1314)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE5 #9AE57F
analogous
#977FE5 #CA7FE5 #E57FCD
triadic
#CA7FE5 #E5CA7F #7FE5CA
tetradic
#CA7FE5 #E5977F #9AE57F #7FCDE5
square
#CA7FE5 #E5977F #9AE57F #7FCDE5
split-complementary
#CA7FE5 #CDE57F #7FE597
monochromatic
#9927C2 #B54CDB #CA7FE5 #DFB2EF #F4E5FA

Accessibility & contrast

On white

2.73
#CA7FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CA7FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE5#FFFFFF#000000##000000
##CA7FE51.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#819FE2
Tritanopia (blue-blind)
#C98DA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7fe5;
/* rgb */ color: rgb(202, 127, 229);
/* oklch */ color: oklch(71.3% 0.162 316.6);
Tailwind
colors: {
  custom: {
    50: '#dca6ed',
    500: '#ca7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe5;
$custom-light: #dca6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe5",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 284.118,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7126,
    "c": 0.1624,
    "h": 316.6
  },
  "luminance": 0.33392
}

Semantic roles & 50–950 ramp

primary
#CA7FE5
secondary
#D9EED1
accent
#CE1748
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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