#CA5FCA#CA5FCA

#CA5FCA is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.4% C 0.188 H 327.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CA5FCA
RGBrgb(202, 95, 202)
HSLhsl(300, 50%, 58%)
HSVhsv(300, 53%, 79%)
CMYKcmyk(0%, 53%, 0%, 20.8%)
CIE-LABlab(57.08, 56.88, -36.71)
CIE-LCHlch(57.08, 67.70, 327.16°)
OKLaboklab(65.38% 0.1582 -0.1009)
OKLCHoklch(65.38% 0.188 327.5)
XYZxyz(39.1094, 25.0075, 58.6326)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FCA #5FCA5F
analogous
#945FCA #CA5FCA #CA5F94
triadic
#CA5FCA #CACA5F #5FCACA
tetradic
#CA5FCA #CA945F #5FCA5F #5F94CA
square
#CA5FCA #CA945F #5FCA5F #5F94CA
split-complementary
#CA5FCA #94CA5F #5FCA94
monochromatic
#832B83 #B13BB1 #CA5FCA #D98DD9 #E8BBE8

Accessibility & contrast

On white

3.50
#CA5FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CA5FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FCA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FCA#FFFFFF#000000##000000
##CA5FCA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#CF6B8C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca5fca;
/* rgb */ color: rgb(202, 95, 202);
/* oklch */ color: oklch(65.4% 0.188 327.5);
Tailwind
colors: {
  custom: {
    50: '#dd91da',
    500: '#ca5fca',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fca;
$custom-light: #dd91da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fca",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65376,
    "c": 0.18764,
    "h": 327.5
  },
  "luminance": 0.25005
}

Semantic roles & 50–950 ramp

primary
#CA5FCA
secondary
#ADD8AD
accent
#DA4E4E
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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