#CA5CF2#CA5CF2

#CA5CF2 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.229 H 315.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CA5CF2
RGBrgb(202, 92, 242)
HSLhsl(284, 85%, 65%)
HSVhsv(284, 62%, 95%)
CMYKcmyk(16.5%, 62%, 0%, 5.1%)
CIE-LABlab(58.62, 65.75, -56.78)
CIE-LCHlch(58.62, 86.87, 319.18°)
OKLaboklab(67.16% 0.1643 -0.1592)
OKLCHoklch(67.16% 0.229 315.9)
XYZxyz(44.2088, 26.6232, 86.7972)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CF2 #84F25C
analogous
#7F5CF2 #CA5CF2 #F25CCF
triadic
#CA5CF2 #F2CA5C #5CF2CA
tetradic
#CA5CF2 #F27F5C #84F25C #5CCFF2
square
#CA5CF2 #F27F5C #84F25C #5CCFF2
split-complementary
#CA5CF2 #CFF25C #5CF27F
monochromatic
#9410C4 #B823ED #CA5CF2 #DC95F7 #EFCDFB

Accessibility & contrast

On white

3.32
#CA5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CA5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CF2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CF2#FFFFFF#000000##000000
##CA5CF21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#C8779F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5cf2;
/* rgb */ color: rgb(202, 92, 242);
/* oklch */ color: oklch(67.2% 0.229 315.9);
Tailwind
colors: {
  custom: {
    50: '#de90f7',
    500: '#ca5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cf2;
$custom-light: #de90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cf2",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 284,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67164,
    "c": 0.22877,
    "h": 315.9
  },
  "luminance": 0.26622
}

Semantic roles & 50–950 ramp

primary
#CA5CF2
secondary
#C9EEBC
accent
#E2043F
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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