#CA5FCC#CA5FCC

#CA5FCC is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.5% C 0.189 H 326.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CA5FCC
RGBrgb(202, 95, 204)
HSLhsl(299, 52%, 59%)
HSVhsv(299, 53%, 80%)
CMYKcmyk(1%, 53.4%, 0%, 20%)
CIE-LABlab(57.18, 57.23, -37.70)
CIE-LCHlch(57.18, 68.54, 326.63°)
OKLaboklab(65.48% 0.1584 -0.1038)
OKLCHoklch(65.48% 0.189 326.8)
XYZxyz(39.3477, 25.1029, 59.8878)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FCC #61CC5F
analogous
#935FCC #CA5FCC #CC5F97
triadic
#CA5FCC #CCCA5F #5FCCCA
tetradic
#CA5FCC #CC935F #61CC5F #5F97CC
square
#CA5FCC #CC935F #61CC5F #5F97CC
split-complementary
#CA5FCC #97CC5F #5FCC93
monochromatic
#842B86 #B239B4 #CA5FCC #D98DDB #E9BCEA

Accessibility & contrast

On white

3.49
#CA5FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CA5FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FCC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FCC#FFFFFF#000000##000000
##CA5FCC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380D0
Deuteranopia (green-blind)
#758EC9
Tritanopia (blue-blind)
#CF6C8D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca5fcc;
/* rgb */ color: rgb(202, 95, 204);
/* oklch */ color: oklch(65.5% 0.189 326.8);
Tailwind
colors: {
  custom: {
    50: '#dd91dc',
    500: '#ca5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fcc;
$custom-light: #dd91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fcc",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 298.899,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65475,
    "c": 0.1894,
    "h": 326.8
  },
  "luminance": 0.25101
}

Semantic roles & 50–950 ramp

primary
#CA5FCC
secondary
#AFD9AE
accent
#DB4D4F
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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