#CA7EE6#CA7EE6

#CA7EE6 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.2% C 0.165 H 316.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CA7EE6
RGBrgb(202, 126, 230)
HSLhsl(284, 68%, 70%)
HSVhsv(284, 45%, 90%)
CMYKcmyk(12.2%, 45.2%, 0%, 9.8%)
CIE-LABlab(64.32, 46.65, -41.11)
CIE-LCHlch(64.32, 62.18, 318.62°)
OKLaboklab(71.15% 0.1196 -0.1138)
OKLCHoklch(71.15% 0.165 316.4)
XYZxyz(46.0988, 33.1928, 78.8260)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EE6 #9AE67E
analogous
#967EE6 #CA7EE6 #E67ECE
triadic
#CA7EE6 #E6CA7E #7EE6CA
tetradic
#CA7EE6 #E6967E #9AE67E #7ECEE6
square
#CA7EE6 #E6967E #9AE67E #7ECEE6
split-complementary
#CA7EE6 #CEE67E #7EE696
monochromatic
#9926C4 #B54BDC #CA7EE6 #DFB1F0 #F4E5FA

Accessibility & contrast

On white

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

On black

7.64
#CA7EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EE6
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EE6#FFFFFF#000000##000000
##CA7EE61.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EA
Deuteranopia (green-blind)
#809EE3
Tritanopia (blue-blind)
#C98DA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7ee6;
/* rgb */ color: rgb(202, 126, 230);
/* oklch */ color: oklch(71.2% 0.165 316.4);
Tailwind
colors: {
  custom: {
    50: '#dca5ee',
    500: '#ca7ee6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ee6;
$custom-light: #dca5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ee6",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 283.846,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71153,
    "c": 0.16513,
    "h": 316.4
  },
  "luminance": 0.33191
}

Semantic roles & 50–950 ramp

primary
#CA7EE6
secondary
#D9EFD1
accent
#CF1648
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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