#CA5FC1#CA5FC1

#CA5FC1 is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.9% C 0.180 H 330.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CA5FC1
RGBrgb(202, 95, 193)
HSLhsl(305, 50%, 58%)
HSVhsv(305, 53%, 79%)
CMYKcmyk(0%, 53%, 4.5%, 20.8%)
CIE-LABlab(56.68, 55.32, -32.20)
CIE-LCHlch(56.68, 64.01, 329.80°)
OKLaboklab(64.94% 0.1569 -0.088)
OKLCHoklch(64.94% 0.18 330.7)
XYZxyz(38.0747, 24.5937, 53.1833)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FC1 #5FCA68
analogous
#9D5FCA #CA5FC1 #CA5F8B
triadic
#CA5FC1 #C1CA5F #5FC1CA
tetradic
#CA5FC1 #CA9D5F #5FCA68 #5F8BCA
square
#CA5FC1 #CA9D5F #5FCA68 #5F8BCA
split-complementary
#CA5FC1 #8BCA5F #5FCA9D
monochromatic
#832B7C #B13BA7 #CA5FC1 #D98DD3 #E8BBE5

Accessibility & contrast

On white

3.55
#CA5FC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CA5FC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FC1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FC1#FFFFFF#000000##000000
##CA5FC11.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC4
Deuteranopia (green-blind)
#7A8DBE
Tritanopia (blue-blind)
#D16887
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5fc1;
/* rgb */ color: rgb(202, 95, 193);
/* oklch */ color: oklch(64.9% 0.180 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd91d4',
    500: '#ca5fc1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fc1;
$custom-light: #dd91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fc1",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 193
  },
  "hsl": {
    "h": 305.047,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64945,
    "c": 0.17987,
    "h": 330.7
  },
  "luminance": 0.24591
}

Semantic roles & 50–950 ramp

primary
#CA5FC1
secondary
#ADD8B1
accent
#DA5A4E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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