#CA7CBE#CA7CBE

#CA7CBE is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.1% C 0.129 H 332.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CA7CBE
RGBrgb(202, 124, 190)
HSLhsl(309, 42%, 64%)
HSVhsv(309, 39%, 79%)
CMYKcmyk(0%, 38.6%, 5.9%, 20.8%)
CIE-LABlab(62.25, 40.09, -21.90)
CIE-LCHlch(62.25, 45.68, 331.35°)
OKLaboklab(69.06% 0.1142 -0.0591)
OKLCHoklch(69.06% 0.129 332.6)
XYZxyz(40.8587, 30.6916, 52.4771)
Luminance0.3069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CBE #7CCA88
analogous
#AF7CCA #CA7CBE #CA7C97
triadic
#CA7CBE #BECA7C #7CBECA
tetradic
#CA7CBE #CAAF7C #7CCA88 #7C97CA
square
#CA7CBE #CAAF7C #7CCA88 #7C97CA
split-complementary
#CA7CBE #97CA7C #7CCAAF
monochromatic
#913B84 #B850A8 #CA7CBE #DCA8D4 #EDD3E9

Accessibility & contrast

On white

2.94
#CA7CBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CA7CBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CBE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CBE#FFFFFF#000000##000000
##CA7CBE1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C0
Deuteranopia (green-blind)
#8F9ABC
Tritanopia (blue-blind)
#D08095
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7cbe;
/* rgb */ color: rgb(202, 124, 190);
/* oklch */ color: oklch(69.1% 0.129 332.6);
Tailwind
colors: {
  custom: {
    50: '#dba3d1',
    500: '#ca7cbe',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cbe;
$custom-light: #dba3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cbe",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 190
  },
  "hsl": {
    "h": 309.231,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69059,
    "c": 0.12856,
    "h": 332.6
  },
  "luminance": 0.3069
}

Semantic roles & 50–950 ramp

primary
#CA7CBE
secondary
#C3DFC7
accent
#B54530
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA7CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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