#CA7FE0#CA7FE0

#CA7FE0 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.157 H 318.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CA7FE0
RGBrgb(202, 127, 224)
HSLhsl(286, 61%, 69%)
HSVhsv(286, 43%, 88%)
CMYKcmyk(9.8%, 43.3%, 0%, 12.2%)
CIE-LABlab(64.26, 44.91, -37.87)
CIE-LCHlch(64.26, 58.75, 319.86°)
OKLaboklab(71.02% 0.1172 -0.1045)
OKLCHoklch(71.02% 0.157 318.3)
XYZxyz(45.3992, 33.1185, 74.5076)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE0 #95E07F
analogous
#9A7FE0 #CA7FE0 #E07FC6
triadic
#CA7FE0 #E0CA7F #7FE0CA
tetradic
#CA7FE0 #E09A7F #95E07F #7FC6E0
square
#CA7FE0 #E09A7F #95E07F #7FC6E0
split-complementary
#CA7FE0 #C6E07F #7FE09A
monochromatic
#982DB8 #B64ED4 #CA7FE0 #DEB0EC #F3E2F8

Accessibility & contrast

On white

2.75
#CA7FE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CA7FE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE0#FFFFFF#000000##000000
##CA7FE01.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E3
Deuteranopia (green-blind)
#849EDD
Tritanopia (blue-blind)
#CA8CA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7fe0;
/* rgb */ color: rgb(202, 127, 224);
/* oklch */ color: oklch(71.0% 0.157 318.3);
Tailwind
colors: {
  custom: {
    50: '#dca6ea',
    500: '#ca7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe0;
$custom-light: #dca6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe0",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 286.392,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71021,
    "c": 0.15704,
    "h": 318.3
  },
  "luminance": 0.33117
}

Semantic roles & 50–950 ramp

primary
#CA7FE0
secondary
#D6ECCF
accent
#C91D44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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