#CA7BC2#CA7BC2

#CA7BC2 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.1% C 0.134 H 330.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CA7BC2
RGBrgb(202, 123, 194)
HSLhsl(306, 43%, 64%)
HSVhsv(306, 39%, 79%)
CMYKcmyk(0%, 39.1%, 4%, 20.8%)
CIE-LABlab(62.19, 41.33, -24.26)
CIE-LCHlch(62.19, 47.92, 329.59°)
OKLaboklab(69.06% 0.1167 -0.0657)
OKLCHoklch(69.06% 0.134 330.6)
XYZxyz(41.1772, 30.6195, 54.7697)
Luminance0.3062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BC2 #7BCA83
analogous
#AA7BCA #CA7BC2 #CA7B9A
triadic
#CA7BC2 #C2CA7B #7BC2CA
tetradic
#CA7BC2 #CAAA7B #7BCA83 #7B9ACA
square
#CA7BC2 #CAAA7B #7BCA83 #7B9ACA
split-complementary
#CA7BC2 #9ACA7B #7BCAAA
monochromatic
#913A88 #B84FAE #CA7BC2 #DCA7D6 #EDD2EA

Accessibility & contrast

On white

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

On black

7.12
#CA7BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BC2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BC2#FFFFFF#000000##000000
##CA7BC21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C5
Deuteranopia (green-blind)
#8D9AC0
Tritanopia (blue-blind)
#D08096
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7bc2;
/* rgb */ color: rgb(202, 123, 194);
/* oklch */ color: oklch(69.1% 0.134 330.6);
Tailwind
colors: {
  custom: {
    50: '#dba3d4',
    500: '#ca7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bc2;
$custom-light: #dba3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bc2",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 306.076,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.13393,
    "h": 330.6
  },
  "luminance": 0.30618
}

Semantic roles & 50–950 ramp

primary
#CA7BC2
secondary
#C2DEC5
accent
#B63D30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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