#CA7EE3#CA7EE3

#CA7EE3 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.0% C 0.162 H 317.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CA7EE3
RGBrgb(202, 126, 227)
HSLhsl(285, 64%, 69%)
HSVhsv(285, 44%, 89%)
CMYKcmyk(11%, 44.5%, 0%, 11%)
CIE-LABlab(64.18, 46.04, -39.65)
CIE-LCHlch(64.18, 60.76, 319.26°)
OKLaboklab(71.01% 0.1192 -0.1096)
OKLCHoklch(71.01% 0.162 317.4)
XYZxyz(45.6811, 33.0257, 76.6264)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EE3 #97E37E
analogous
#987EE3 #CA7EE3 #E37EC9
triadic
#CA7EE3 #E3CA7E #7EE3CA
tetradic
#CA7EE3 #E3987E #97E37E #7EC9E3
square
#CA7EE3 #E3987E #97E37E #7EC9E3
split-complementary
#CA7EE3 #C9E37E #7EE398
monochromatic
#9929BD #B54CD8 #CA7EE3 #DFB0EE #F3E3F9

Accessibility & contrast

On white

2.76
#CA7EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CA7EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EE3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EE3#FFFFFF#000000##000000
##CA7EE31.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#CA8CA6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7ee3;
/* rgb */ color: rgb(202, 126, 227);
/* oklch */ color: oklch(71.0% 0.162 317.4);
Tailwind
colors: {
  custom: {
    50: '#dca5ec',
    500: '#ca7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ee3;
$custom-light: #dca5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ee3",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 285.149,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71009,
    "c": 0.16191,
    "h": 317.4
  },
  "luminance": 0.33024
}

Semantic roles & 50–950 ramp

primary
#CA7EE3
secondary
#D7EDD0
accent
#CC1946
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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