#CA4DF2#CA4DF2

#CA4DF2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.5% C 0.248 H 316.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CA4DF2
RGBrgb(202, 77, 242)
HSLhsl(285, 86%, 63%)
HSVhsv(285, 68%, 95%)
CMYKcmyk(16.5%, 68.2%, 0%, 5.1%)
CIE-LABlab(56.36, 72.03, -60.40)
CIE-LCHlch(56.36, 94.00, 320.02°)
OKLaboklab(65.54% 0.1805 -0.1697)
OKLCHoklch(65.54% 0.248 316.8)
XYZxyz(43.0356, 24.2768, 86.4062)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4DF2 #75F24D
analogous
#784DF2 #CA4DF2 #F24DC7
triadic
#CA4DF2 #F2CA4D #4DF2CA
tetradic
#CA4DF2 #F2784D #75F24D #4DC7F2
square
#CA4DF2 #F2784D #75F24D #4DC7F2
split-complementary
#CA4DF2 #C7F24D #4DF278
monochromatic
#8E0DB7 #B914EE #CA4DF2 #DB86F6 #ECBFFA

Accessibility & contrast

On white

3.59
#CA4DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CA4DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4DF2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4DF2#FFFFFF#000000##000000
##CA4DF21.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4F8BEE
Tritanopia (blue-blind)
#C86D9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca4df2;
/* rgb */ color: rgb(202, 77, 242);
/* oklch */ color: oklch(65.5% 0.248 316.8);
Tailwind
colors: {
  custom: {
    50: '#de88f7',
    500: '#ca4df2',
    950: '#000000',
  },
}
SCSS
$custom: #ca4df2;
$custom-light: #de88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4df2",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 242
  },
  "hsl": {
    "h": 285.455,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65537,
    "c": 0.24775,
    "h": 316.8
  },
  "luminance": 0.24275
}

Semantic roles & 50–950 ramp

primary
#CA4DF2
secondary
#BEEBAF
accent
#E30339
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA4DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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