#CA7BCA#CA7BCA

#CA7BCA is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.4% C 0.141 H 327.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CA7BCA
RGBrgb(202, 123, 202)
HSLhsl(300, 43%, 64%)
HSVhsv(300, 39%, 79%)
CMYKcmyk(0%, 39.1%, 0%, 20.8%)
CIE-LABlab(62.50, 42.79, -28.29)
CIE-LCHlch(62.50, 51.29, 326.53°)
OKLaboklab(69.4% 0.1186 -0.0771)
OKLCHoklch(69.4% 0.141 327)
XYZxyz(42.0999, 30.9886, 59.6295)
Luminance0.3099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BCA #7BCA7B
analogous
#A27BCA #CA7BCA #CA7BA2
triadic
#CA7BCA #CACA7B #7BCACA
tetradic
#CA7BCA #CAA27B #7BCA7B #7BA2CA
square
#CA7BCA #CAA27B #7BCA7B #7BA2CA
split-complementary
#CA7BCA #A2CA7B #7BCAA2
monochromatic
#913A91 #B84FB8 #CA7BCA #DCA7DC #EDD2ED

Accessibility & contrast

On white

2.92
#CA7BCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CA7BCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BCA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BCA#FFFFFF#000000##000000
##CA7BCA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8A9BC7
Tritanopia (blue-blind)
#CF8399
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7bca;
/* rgb */ color: rgb(202, 123, 202);
/* oklch */ color: oklch(69.4% 0.141 327.0);
Tailwind
colors: {
  custom: {
    50: '#dba3da',
    500: '#ca7bca',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bca;
$custom-light: #dba3da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bca",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69401,
    "c": 0.14146,
    "h": 327
  },
  "luminance": 0.30987
}

Semantic roles & 50–950 ramp

primary
#CA7BCA
secondary
#C2DEC2
accent
#B63030
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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