#CA7AE1#CA7AE1

#CA7AE1 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.3% C 0.166 H 318.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CA7AE1
RGBrgb(202, 122, 225)
HSLhsl(287, 63%, 68%)
HSVhsv(287, 46%, 88%)
CMYKcmyk(10.2%, 45.8%, 0%, 11.8%)
CIE-LABlab(63.27, 47.74, -39.97)
CIE-LCHlch(63.27, 62.26, 320.06°)
OKLaboklab(70.3% 0.1244 -0.1105)
OKLCHoklch(70.3% 0.166 318.4)
XYZxyz(44.9054, 31.9134, 75.0140)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AE1 #91E17A
analogous
#967AE1 #CA7AE1 #E17AC4
triadic
#CA7AE1 #E1CA7A #7AE1CA
tetradic
#CA7AE1 #E1967A #91E17A #7AC4E1
square
#CA7AE1 #E1967A #91E17A #7AC4E1
split-complementary
#CA7AE1 #C4E17A #7AE196
monochromatic
#9829B7 #B648D6 #CA7AE1 #DEACEC #F2DEF8

Accessibility & contrast

On white

2.84
#CA7AE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CA7AE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AE1
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AE1#FFFFFF#000000##000000
##CA7AE11.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E5
Deuteranopia (green-blind)
#7F9CDE
Tritanopia (blue-blind)
#CA88A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7ae1;
/* rgb */ color: rgb(202, 122, 225);
/* oklch */ color: oklch(70.3% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#dca2eb',
    500: '#ca7ae1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ae1;
$custom-light: #dca2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ae1",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 286.602,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.703,
    "c": 0.16643,
    "h": 318.4
  },
  "luminance": 0.31912
}

Semantic roles & 50–950 ramp

primary
#CA7AE1
secondary
#D3EBCC
accent
#CB1B42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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