#CA7BC1#CA7BC1

#CA7BC1 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.0% C 0.133 H 331.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CA7BC1
RGBrgb(202, 123, 193)
HSLhsl(307, 43%, 64%)
HSVhsv(307, 39%, 79%)
CMYKcmyk(0%, 39.1%, 4.5%, 20.8%)
CIE-LABlab(62.15, 41.15, -23.75)
CIE-LCHlch(62.15, 47.51, 330.01°)
OKLaboklab(69.02% 0.1164 -0.0643)
OKLCHoklch(69.02% 0.133 331.1)
XYZxyz(41.0652, 30.5748, 54.1802)
Luminance0.3057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BC1 #7BCA84
analogous
#AB7BCA #CA7BC1 #CA7B99
triadic
#CA7BC1 #C1CA7B #7BC1CA
tetradic
#CA7BC1 #CAAB7B #7BCA84 #7B99CA
square
#CA7BC1 #CAAB7B #7BCA84 #7B99CA
split-complementary
#CA7BC1 #99CA7B #7BCAAB
monochromatic
#913A87 #B84FAC #CA7BC1 #DCA7D6 #EDD2EA

Accessibility & contrast

On white

2.95
#CA7BC1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CA7BC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BC1
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BC1#FFFFFF#000000##000000
##CA7BC11.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788FC4
Deuteranopia (green-blind)
#8D9ABF
Tritanopia (blue-blind)
#D08095
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7bc1;
/* rgb */ color: rgb(202, 123, 193);
/* oklch */ color: oklch(69.0% 0.133 331.1);
Tailwind
colors: {
  custom: {
    50: '#dba3d4',
    500: '#ca7bc1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bc1;
$custom-light: #dba3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bc1",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 193
  },
  "hsl": {
    "h": 306.835,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69021,
    "c": 0.13301,
    "h": 331.1
  },
  "luminance": 0.30573
}

Semantic roles & 50–950 ramp

primary
#CA7BC1
secondary
#C2DEC6
accent
#B63F30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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