#CA7EE7#CA7EE7

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

Color values

HEX#CA7EE7
RGBrgb(202, 126, 231)
HSLhsl(283, 69%, 70%)
HSVhsv(283, 45%, 91%)
CMYKcmyk(12.6%, 45.5%, 0%, 9.4%)
CIE-LABlab(64.36, 46.86, -41.59)
CIE-LCHlch(64.36, 62.65, 318.41°)
OKLaboklab(71.2% 0.1198 -0.1152)
OKLCHoklch(71.2% 0.166 316.1)
XYZxyz(46.2396, 33.2491, 79.5677)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EE7 #9BE77E
analogous
#967EE7 #CA7EE7 #E77ECF
triadic
#CA7EE7 #E7CA7E #7EE7CA
tetradic
#CA7EE7 #E7967E #9BE77E #7ECFE7
square
#CA7EE7 #E7967E #9BE77E #7ECFE7
split-complementary
#CA7EE7 #CFE77E #7EE796
monochromatic
#9925C6 #B54ADD #CA7EE7 #DFB2F1 #F4E5FA

Accessibility & contrast

On white

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

On black

7.65
#CA7EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EE7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EE7#FFFFFF#000000##000000
##CA7EE71.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EB
Deuteranopia (green-blind)
#809EE4
Tritanopia (blue-blind)
#C98DA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7ee7;
/* rgb */ color: rgb(202, 126, 231);
/* oklch */ color: oklch(71.2% 0.166 316.1);
Tailwind
colors: {
  custom: {
    50: '#dca5ef',
    500: '#ca7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ee7;
$custom-light: #dca5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ee7",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 283.429,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.71202,
    "c": 0.16621,
    "h": 316.1
  },
  "luminance": 0.33248
}

Semantic roles & 50–950 ramp

primary
#CA7EE7
secondary
#DAEFD2
accent
#D11549
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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