#CA7CCF#CA7CCF

#CA7CCF is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.8% C 0.145 H 324.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CA7CCF
RGBrgb(202, 124, 207)
HSLhsl(296, 46%, 65%)
HSVhsv(296, 40%, 81%)
CMYKcmyk(2.4%, 40.1%, 0%, 18.8%)
CIE-LABlab(62.91, 43.19, -30.46)
CIE-LCHlch(62.91, 52.85, 324.80°)
OKLaboklab(69.78% 0.1182 -0.0833)
OKLCHoklch(69.78% 0.145 324.8)
XYZxyz(42.8262, 31.4786, 62.8395)
Luminance0.3148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CCF #81CF7C
analogous
#A17CCF #CA7CCF #CF7CAA
triadic
#CA7CCF #CFCA7C #7CCFCA
tetradic
#CA7CCF #CFA17C #81CF7C #7CAACF
square
#CA7CCF #CFA17C #81CF7C #7CAACF
split-complementary
#CA7CCF #AACF7C #7CCFA1
monochromatic
#933899 #B84FBF #CA7CCF #DCA9DF #EED6F0

Accessibility & contrast

On white

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

On black

7.30
#CA7CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CCF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CCF#FFFFFF#000000##000000
##CA7CCF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#889CCC
Tritanopia (blue-blind)
#CE859C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ccf;
/* rgb */ color: rgb(202, 124, 207);
/* oklch */ color: oklch(69.8% 0.145 324.8);
Tailwind
colors: {
  custom: {
    50: '#dba4de',
    500: '#ca7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ccf;
$custom-light: #dba4de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ccf",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 296.386,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69776,
    "c": 0.14462,
    "h": 324.8
  },
  "luminance": 0.31477
}

Semantic roles & 50–950 ramp

primary
#CA7CCF
secondary
#C7E2C5
accent
#BA2C34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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