#CA7BBA#CA7BBA

#CA7BBA is a light, vivid pink. Relative luminance 0.303; OKLCH L 68.7% C 0.127 H 334.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CA7BBA
RGBrgb(202, 123, 186)
HSLhsl(312, 43%, 64%)
HSVhsv(312, 39%, 79%)
CMYKcmyk(0%, 39.1%, 7.9%, 20.8%)
CIE-LABlab(61.89, 39.92, -20.18)
CIE-LCHlch(61.89, 44.73, 333.18°)
OKLaboklab(68.74% 0.1146 -0.0543)
OKLCHoklch(68.74% 0.127 334.6)
XYZxyz(40.3028, 30.2698, 50.1646)
Luminance0.3027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BBA #7BCA8B
analogous
#B27BCA #CA7BBA #CA7B92
triadic
#CA7BBA #BACA7B #7BBACA
tetradic
#CA7BBA #CAB27B #7BCA8B #7B92CA
square
#CA7BBA #CAB27B #7BCA8B #7B92CA
split-complementary
#CA7BBA #92CA7B #7BCAB2
monochromatic
#913A7F #B84FA3 #CA7BBA #DCA7D1 #EDD2E8

Accessibility & contrast

On white

2.98
#CA7BBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CA7BBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BBA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BBA#FFFFFF#000000##000000
##CA7BBA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8EBC
Deuteranopia (green-blind)
#8F9AB8
Tritanopia (blue-blind)
#D17F92
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7bba;
/* rgb */ color: rgb(202, 123, 186);
/* oklch */ color: oklch(68.7% 0.127 334.6);
Tailwind
colors: {
  custom: {
    50: '#dba3ce',
    500: '#ca7bba',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bba;
$custom-light: #dba3ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bba",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 186
  },
  "hsl": {
    "h": 312.152,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68739,
    "c": 0.12684,
    "h": 334.6
  },
  "luminance": 0.30268
}

Semantic roles & 50–950 ramp

primary
#CA7BBA
secondary
#C2DEC8
accent
#B64B30
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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