#CA5AC7#CA5AC7

#CA5AC7 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.6% C 0.193 H 328.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CA5AC7
RGBrgb(202, 90, 199)
HSLhsl(302, 51%, 57%)
HSVhsv(302, 55%, 79%)
CMYKcmyk(0%, 55.4%, 1.5%, 20.8%)
CIE-LABlab(56.08, 58.68, -36.56)
CIE-LCHlch(56.08, 69.14, 328.07°)
OKLaboklab(64.6% 0.1644 -0.1005)
OKLCHoklch(64.6% 0.193 328.6)
XYZxyz(38.3216, 23.9948, 56.6348)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AC7 #5ACA5D
analogous
#955ACA #CA5AC7 #CA5A8F
triadic
#CA5AC7 #C7CA5A #5AC7CA
tetradic
#CA5AC7 #CA955A #5ACA5D #5A8FCA
square
#CA5AC7 #CA955A #5ACA5D #5A8FCA
split-complementary
#CA5AC7 #8FCA5A #5ACA95
monochromatic
#80297E #AF38AC #CA5AC7 #D988D7 #E8B7E6

Accessibility & contrast

On white

3.62
#CA5AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CA5AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AC7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AC7#FFFFFF#000000##000000
##CA5AC71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCA
Deuteranopia (green-blind)
#748CC4
Tritanopia (blue-blind)
#D06688
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5ac7;
/* rgb */ color: rgb(202, 90, 199);
/* oklch */ color: oklch(64.6% 0.193 328.6);
Tailwind
colors: {
  custom: {
    50: '#dd8ed8',
    500: '#ca5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ac7;
$custom-light: #dd8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ac7",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 301.607,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64597,
    "c": 0.19263,
    "h": 328.6
  },
  "luminance": 0.23992
}

Semantic roles & 50–950 ramp

primary
#CA5AC7
secondary
#A9D7AA
accent
#DB514D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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