#CA7BC6#CA7BC6

#CA7BC6 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.2% C 0.138 H 328.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CA7BC6
RGBrgb(202, 123, 198)
HSLhsl(303, 43%, 64%)
HSVhsv(303, 39%, 79%)
CMYKcmyk(0%, 39.1%, 2%, 20.8%)
CIE-LABlab(62.34, 42.05, -26.28)
CIE-LCHlch(62.34, 49.59, 328.00°)
OKLaboklab(69.23% 0.1177 -0.0714)
OKLCHoklch(69.23% 0.138 328.7)
XYZxyz(41.6325, 30.8016, 57.1675)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BC6 #7BCA7F
analogous
#A67BCA #CA7BC6 #CA7B9E
triadic
#CA7BC6 #C6CA7B #7BC6CA
tetradic
#CA7BC6 #CAA67B #7BCA7F #7B9ECA
square
#CA7BC6 #CAA67B #7BCA7F #7B9ECA
split-complementary
#CA7BC6 #9ECA7B #7BCAA6
monochromatic
#913A8C #B84FB3 #CA7BC6 #DCA7D9 #EDD2EC

Accessibility & contrast

On white

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

On black

7.16
#CA7BC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BC6
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BC6#FFFFFF#000000##000000
##CA7BC61.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7690C9
Deuteranopia (green-blind)
#8B9AC3
Tritanopia (blue-blind)
#CF8297
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7bc6;
/* rgb */ color: rgb(202, 123, 198);
/* oklch */ color: oklch(69.2% 0.138 328.7);
Tailwind
colors: {
  custom: {
    50: '#dba3d7',
    500: '#ca7bc6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bc6;
$custom-light: #dba3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bc6",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 303.038,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6923,
    "c": 0.13765,
    "h": 328.7
  },
  "luminance": 0.308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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