#CA4FF2#CA4FF2

#CA4FF2 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.7% C 0.245 H 316.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CA4FF2
RGBrgb(202, 79, 242)
HSLhsl(285, 86%, 63%)
HSVhsv(285, 67%, 95%)
CMYKcmyk(16.5%, 67.4%, 0%, 5.1%)
CIE-LABlab(56.65, 71.24, -59.95)
CIE-LCHlch(56.65, 93.11, 319.92°)
OKLaboklab(65.74% 0.1785 -0.1684)
OKLCHoklch(65.74% 0.245 316.7)
XYZxyz(43.1777, 24.5610, 86.4535)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FF2 #77F24F
analogous
#784FF2 #CA4FF2 #F24FC8
triadic
#CA4FF2 #F2CA4F #4FF2CA
tetradic
#CA4FF2 #F2784F #77F24F #4FC8F2
square
#CA4FF2 #F2784F #77F24F #4FC8F2
split-complementary
#CA4FF2 #C8F24F #4FF278
monochromatic
#8F0EB9 #B916EE #CA4FF2 #DB88F6 #ECC1FA

Accessibility & contrast

On white

3.55
#CA4FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CA4FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FF2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FF2#FFFFFF#000000##000000
##CA4FF21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#518BEE
Tritanopia (blue-blind)
#C86F9B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca4ff2;
/* rgb */ color: rgb(202, 79, 242);
/* oklch */ color: oklch(65.7% 0.245 316.7);
Tailwind
colors: {
  custom: {
    50: '#de89f7',
    500: '#ca4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ff2;
$custom-light: #de89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ff2",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 285.276,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65739,
    "c": 0.24537,
    "h": 316.7
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#CA4FF2
secondary
#BFECB1
accent
#E3033A
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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