#CA5FC2#CA5FC2

#CA5FC2 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.0% C 0.181 H 330.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CA5FC2
RGBrgb(202, 95, 194)
HSLhsl(304, 50%, 58%)
HSVhsv(304, 53%, 79%)
CMYKcmyk(0%, 53%, 4%, 20.8%)
CIE-LABlab(56.72, 55.49, -32.71)
CIE-LCHlch(56.72, 64.41, 329.49°)
OKLaboklab(64.99% 0.157 -0.0895)
OKLCHoklch(64.99% 0.181 330.3)
XYZxyz(38.1866, 24.6384, 53.7728)
Luminance0.2464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FC2 #5FCA67
analogous
#9C5FCA #CA5FC2 #CA5F8C
triadic
#CA5FC2 #C2CA5F #5FC2CA
tetradic
#CA5FC2 #CA9C5F #5FCA67 #5F8CCA
square
#CA5FC2 #CA9C5F #5FCA67 #5F8CCA
split-complementary
#CA5FC2 #8CCA5F #5FCA9C
monochromatic
#832B7D #B13BA8 #CA5FC2 #D98DD4 #E8BBE5

Accessibility & contrast

On white

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

On black

5.93
#CA5FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FC2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FC2#FFFFFF#000000##000000
##CA5FC21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#D16888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5fc2;
/* rgb */ color: rgb(202, 95, 194);
/* oklch */ color: oklch(65.0% 0.181 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd91d4',
    500: '#ca5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fc2;
$custom-light: #dd91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fc2",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 304.486,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64992,
    "c": 0.18072,
    "h": 330.3
  },
  "luminance": 0.24636
}

Semantic roles & 50–950 ramp

primary
#CA5FC2
secondary
#ADD8B0
accent
#DA594E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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