#CA7ED2#CA7ED2

#CA7ED2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.2% C 0.144 H 323.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CA7ED2
RGBrgb(202, 126, 210)
HSLhsl(294, 48%, 66%)
HSVhsv(294, 40%, 82%)
CMYKcmyk(3.8%, 40%, 0%, 17.6%)
CIE-LABlab(63.45, 42.70, -31.31)
CIE-LCHlch(63.45, 52.95, 323.75°)
OKLaboklab(70.22% 0.1159 -0.0857)
OKLCHoklch(70.22% 0.144 323.5)
XYZxyz(43.4496, 32.1331, 64.8738)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7ED2 #86D27E
analogous
#A07ED2 #CA7ED2 #D27EB0
triadic
#CA7ED2 #D2CA7E #7ED2CA
tetradic
#CA7ED2 #D2A07E #86D27E #7EB0D2
square
#CA7ED2 #D2A07E #86D27E #7EB0D2
split-complementary
#CA7ED2 #B0D27E #7ED2A0
monochromatic
#95379E #B751C2 #CA7ED2 #DDABE2 #EFD9F2

Accessibility & contrast

On white

2.83
#CA7ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CA7ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7ED2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7ED2#FFFFFF#000000##000000
##CA7ED21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#CD879E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7ed2;
/* rgb */ color: rgb(202, 126, 210);
/* oklch */ color: oklch(70.2% 0.144 323.5);
Tailwind
colors: {
  custom: {
    50: '#dba5e0',
    500: '#ca7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ed2;
$custom-light: #dba5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ed2",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 294.286,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70224,
    "c": 0.14418,
    "h": 323.5
  },
  "luminance": 0.32131
}

Semantic roles & 50–950 ramp

primary
#CA7ED2
secondary
#CBE4C8
accent
#BC2A38
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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