#CA7CEE#CA7CEE

#CA7CEE is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.2% C 0.177 H 314.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CA7CEE
RGBrgb(202, 124, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 48%, 93%)
CMYKcmyk(15.1%, 47.9%, 0%, 6.7%)
CIE-LABlab(64.28, 49.34, -45.59)
CIE-LCHlch(64.28, 67.18, 317.26°)
OKLaboklab(71.25% 0.1235 -0.1268)
OKLCHoklch(71.25% 0.177 314.3)
XYZxyz(46.9949, 33.1461, 84.7946)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CEE #A0EE7C
analogous
#917CEE #CA7CEE #EE7CD9
triadic
#CA7CEE #EECA7C #7CEECA
tetradic
#CA7CEE #EE917C #A0EE7C #7CD9EE
square
#CA7CEE #EE917C #A0EE7C #7CD9EE
split-complementary
#CA7CEE #D9EE7C #7CEE91
monochromatic
#9A1CD4 #B446E7 #CA7CEE #E0B2F5 #F4E4FB

Accessibility & contrast

On white

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

On black

7.63
#CA7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CEE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CEE#FFFFFF#000000##000000
##CA7CEE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F2
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#C78DAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7cee;
/* rgb */ color: rgb(202, 124, 238);
/* oklch */ color: oklch(71.2% 0.177 314.3);
Tailwind
colors: {
  custom: {
    50: '#dca4f4',
    500: '#ca7cee',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cee;
$custom-light: #dca4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cee",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 281.053,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71247,
    "c": 0.17702,
    "h": 314.3
  },
  "luminance": 0.33145
}

Semantic roles & 50–950 ramp

primary
#CA7CEE
secondary
#DDF2D4
accent
#D90C4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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