#CA7BC7#CA7BC7

#CA7BC7 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.3% C 0.139 H 328.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CA7BC7
RGBrgb(202, 123, 199)
HSLhsl(302, 43%, 64%)
HSVhsv(302, 39%, 79%)
CMYKcmyk(0%, 39.1%, 1.5%, 20.8%)
CIE-LABlab(62.38, 42.23, -26.78)
CIE-LCHlch(62.38, 50.01, 327.62°)
OKLaboklab(69.27% 0.1179 -0.0728)
OKLCHoklch(69.27% 0.139 328.3)
XYZxyz(41.7482, 30.8479, 57.7770)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BC7 #7BCA7E
analogous
#A57BCA #CA7BC7 #CA7B9F
triadic
#CA7BC7 #C7CA7B #7BC7CA
tetradic
#CA7BC7 #CAA57B #7BCA7E #7B9FCA
square
#CA7BC7 #CAA57B #7BCA7E #7B9FCA
split-complementary
#CA7BC7 #9FCA7B #7BCAA5
monochromatic
#913A8D #B84FB4 #CA7BC7 #DCA7DA #EDD2EC

Accessibility & contrast

On white

2.93
#CA7BC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CA7BC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BC7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BC7#FFFFFF#000000##000000
##CA7BC71.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7690CA
Deuteranopia (green-blind)
#8B9BC4
Tritanopia (blue-blind)
#CF8298
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7bc7;
/* rgb */ color: rgb(202, 123, 199);
/* oklch */ color: oklch(69.3% 0.139 328.3);
Tailwind
colors: {
  custom: {
    50: '#dba3d8',
    500: '#ca7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bc7;
$custom-light: #dba3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bc7",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 302.278,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69272,
    "c": 0.13859,
    "h": 328.3
  },
  "luminance": 0.30846
}

Semantic roles & 50–950 ramp

primary
#CA7BC7
secondary
#C2DEC4
accent
#B63530
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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