#CA5FC5#CA5FC5

#CA5FC5 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.1% C 0.183 H 329.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CA5FC5
RGBrgb(202, 95, 197)
HSLhsl(303, 50%, 58%)
HSVhsv(303, 53%, 79%)
CMYKcmyk(0%, 53%, 2.5%, 20.8%)
CIE-LABlab(56.86, 56.01, -34.21)
CIE-LCHlch(56.86, 65.63, 328.58°)
OKLaboklab(65.13% 0.1575 -0.0938)
OKLCHoklch(65.13% 0.183 329.2)
XYZxyz(38.5269, 24.7746, 55.5652)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FC5 #5FCA64
analogous
#995FCA #CA5FC5 #CA5F8F
triadic
#CA5FC5 #C5CA5F #5FC5CA
tetradic
#CA5FC5 #CA995F #5FCA64 #5F8FCA
square
#CA5FC5 #CA995F #5FCA64 #5F8FCA
split-complementary
#CA5FC5 #8FCA5F #5FCA99
monochromatic
#832B7F #B13BAC #CA5FC5 #D98DD6 #E8BBE6

Accessibility & contrast

On white

3.53
#CA5FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CA5FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FC5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FC5#FFFFFF#000000##000000
##CA5FC51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC8
Deuteranopia (green-blind)
#788EC2
Tritanopia (blue-blind)
#D06989
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5fc5;
/* rgb */ color: rgb(202, 95, 197);
/* oklch */ color: oklch(65.1% 0.183 329.2);
Tailwind
colors: {
  custom: {
    50: '#dd91d7',
    500: '#ca5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fc5;
$custom-light: #dd91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fc5",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 302.804,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.18328,
    "h": 329.2
  },
  "luminance": 0.24772
}

Semantic roles & 50–950 ramp

primary
#CA5FC5
secondary
#ADD8AF
accent
#DA554E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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