#CA91C2#CA91C2

#CA91C2 is a light, moderate purple. Relative luminance 0.367; OKLCH L 72.8% C 0.095 H 331.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CA91C2
RGBrgb(202, 145, 194)
HSLhsl(308, 35%, 68%)
HSVhsv(308, 28%, 79%)
CMYKcmyk(0%, 28.2%, 4%, 20.8%)
CIE-LABlab(67.05, 29.44, -16.84)
CIE-LCHlch(67.05, 33.91, 330.23°)
OKLaboklab(72.75% 0.0831 -0.0452)
OKLCHoklch(72.75% 0.095 331.5)
XYZxyz(44.2194, 36.7040, 55.7838)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91C2 #91CA99
analogous
#B591CA #CA91C2 #CA91A5
triadic
#CA91C2 #C2CA91 #91C2CA
tetradic
#CA91C2 #CAB591 #91CA99 #91A5CA
square
#CA91C2 #CAB591 #91CA99 #91A5CA
split-complementary
#CA91C2 #A5CA91 #91CAB5
monochromatic
#98498D #B668AB #CA91C2 #DEBAD9 #F2E4F0

Accessibility & contrast

On white

2.52
#CA91C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CA91C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91C2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91C2#FFFFFF#000000##000000
##CA91C21.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#909EC4
Deuteranopia (green-blind)
#9DA6C0
Tritanopia (blue-blind)
#CF94A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca91c2;
/* rgb */ color: rgb(202, 145, 194);
/* oklch */ color: oklch(72.8% 0.095 331.5);
Tailwind
colors: {
  custom: {
    50: '#dbb2d4',
    500: '#ca91c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca91c2;
$custom-light: #dbb2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91c2",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 194
  },
  "hsl": {
    "h": 308.421,
    "s": 34.969,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.09458,
    "h": 331.5
  },
  "luminance": 0.36702
}

Semantic roles & 50–950 ramp

primary
#CA91C2
secondary
#D3E4D5
accent
#AE4838
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CA91C2

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

Preview Lab → · Contrast checker → · Palette generator →

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