#CA7CCE#CA7CCE

#CA7CCE is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.7% C 0.144 H 325.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CA7CCE
RGBrgb(202, 124, 206)
HSLhsl(297, 46%, 65%)
HSVhsv(297, 40%, 81%)
CMYKcmyk(1.9%, 39.8%, 0%, 19.2%)
CIE-LABlab(62.87, 43.00, -29.97)
CIE-LCHlch(62.87, 52.41, 325.13°)
OKLaboklab(69.73% 0.118 -0.0819)
OKLCHoklch(69.73% 0.144 325.2)
XYZxyz(42.7043, 31.4299, 62.1977)
Luminance0.3143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CCE #80CE7C
analogous
#A17CCE #CA7CCE #CE7CA9
triadic
#CA7CCE #CECA7C #7CCECA
tetradic
#CA7CCE #CEA17C #80CE7C #7CA9CE
square
#CA7CCE #CEA17C #80CE7C #7CA9CE
split-complementary
#CA7CCE #A9CE7C #7CCEA1
monochromatic
#923997 #B84FBD #CA7CCE #DCA9DF #EED5EF

Accessibility & contrast

On white

2.88
#CA7CCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CA7CCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CCE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CCE#FFFFFF#000000##000000
##CA7CCE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D1
Deuteranopia (green-blind)
#899CCB
Tritanopia (blue-blind)
#CE849B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7cce;
/* rgb */ color: rgb(202, 124, 206);
/* oklch */ color: oklch(69.7% 0.144 325.2);
Tailwind
colors: {
  custom: {
    50: '#dba4dd',
    500: '#ca7cce',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cce;
$custom-light: #dba4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cce",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 297.073,
    "s": 45.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69732,
    "c": 0.14364,
    "h": 325.2
  },
  "luminance": 0.31428
}

Semantic roles & 50–950 ramp

primary
#CA7CCE
secondary
#C6E1C5
accent
#B92D34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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