#CA5EC7#CA5EC7

#CA5EC7 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.1% C 0.187 H 328.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CA5EC7
RGBrgb(202, 94, 199)
HSLhsl(302, 50%, 58%)
HSVhsv(302, 53%, 79%)
CMYKcmyk(0%, 53.5%, 1.5%, 20.8%)
CIE-LABlab(56.77, 56.83, -35.49)
CIE-LCHlch(56.77, 67.00, 328.01°)
OKLaboklab(65.1% 0.1591 -0.0974)
OKLCHoklch(65.1% 0.187 328.5)
XYZxyz(38.6681, 24.6878, 56.7503)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EC7 #5ECA61
analogous
#975ECA #CA5EC7 #CA5E91
triadic
#CA5EC7 #C7CA5E #5EC7CA
tetradic
#CA5EC7 #CA975E #5ECA61 #5E91CA
square
#CA5EC7 #CA975E #5ECA61 #5E91CA
split-complementary
#CA5EC7 #91CA5E #5ECA97
monochromatic
#832B80 #B13AAD #CA5EC7 #D98CD7 #E8BAE7

Accessibility & contrast

On white

3.54
#CA5EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CA5EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EC7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EC7#FFFFFF#000000##000000
##CA5EC71.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#778DC4
Tritanopia (blue-blind)
#D0698A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5ec7;
/* rgb */ color: rgb(202, 94, 199);
/* oklch */ color: oklch(65.1% 0.187 328.5);
Tailwind
colors: {
  custom: {
    50: '#dd91d8',
    500: '#ca5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ec7;
$custom-light: #dd91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ec7",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 301.667,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65101,
    "c": 0.18656,
    "h": 328.5
  },
  "luminance": 0.24685
}

Semantic roles & 50–950 ramp

primary
#CA5EC7
secondary
#ACD7AE
accent
#DA524E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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