#CA5FC7#CA5FC7

#CA5FC7 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.2% C 0.185 H 328.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CA5FC7
RGBrgb(202, 95, 199)
HSLhsl(302, 50%, 58%)
HSVhsv(302, 53%, 79%)
CMYKcmyk(0%, 53%, 1.5%, 20.8%)
CIE-LABlab(56.95, 56.35, -35.21)
CIE-LCHlch(56.95, 66.45, 328.00°)
OKLaboklab(65.23% 0.1578 -0.0966)
OKLCHoklch(65.23% 0.185 328.5)
XYZxyz(38.7576, 24.8668, 56.7801)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FC7 #5FCA62
analogous
#975FCA #CA5FC7 #CA5F91
triadic
#CA5FC7 #C7CA5F #5FC7CA
tetradic
#CA5FC7 #CA975F #5FCA62 #5F91CA
square
#CA5FC7 #CA975F #5FCA62 #5F91CA
split-complementary
#CA5FC7 #91CA5F #5FCA97
monochromatic
#832B81 #B13BAE #CA5FC7 #D98DD7 #E8BBE7

Accessibility & contrast

On white

3.52
#CA5FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CA5FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FC7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FC7#FFFFFF#000000##000000
##CA5FC71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CA
Deuteranopia (green-blind)
#778EC4
Tritanopia (blue-blind)
#D06A8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca5fc7;
/* rgb */ color: rgb(202, 95, 199);
/* oklch */ color: oklch(65.2% 0.185 328.5);
Tailwind
colors: {
  custom: {
    50: '#dd91d8',
    500: '#ca5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fc7;
$custom-light: #dd91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fc7",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 301.682,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6523,
    "c": 0.18502,
    "h": 328.5
  },
  "luminance": 0.24864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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