#CA4FD7#CA4FD7

#CA4FD7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.222 H 323.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CA4FD7
RGBrgb(202, 79, 215)
HSLhsl(294, 63%, 58%)
HSVhsv(294, 63%, 84%)
CMYKcmyk(6%, 63.3%, 0%, 15.7%)
CIE-LABlab(55.13, 66.27, -47.18)
CIE-LCHlch(55.13, 81.34, 324.55°)
OKLaboklab(64.16% 0.1789 -0.1311)
OKLCHoklch(64.16% 0.222 323.8)
XYZxyz(39.4177, 23.0571, 66.6510)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FD7 #5CD74F
analogous
#864FD7 #CA4FD7 #D74FA0
triadic
#CA4FD7 #D7CA4F #4FD7CA
tetradic
#CA4FD7 #D7864F #5CD74F #4FA0D7
square
#CA4FD7 #D7864F #5CD74F #4FA0D7
split-complementary
#CA4FD7 #A0D74F #4FD786
monochromatic
#81208C #B02BBE #CA4FD7 #D981E2 #E8B3EE

Accessibility & contrast

On white

3.74
#CA4FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CA4FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FD7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FD7#FFFFFF#000000##000000
##CA4FD71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDB
Deuteranopia (green-blind)
#6589D3
Tritanopia (blue-blind)
#CE648C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca4fd7;
/* rgb */ color: rgb(202, 79, 215);
/* oklch */ color: oklch(64.2% 0.222 323.8);
Tailwind
colors: {
  custom: {
    50: '#dd89e4',
    500: '#ca4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fd7;
$custom-light: #dd89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fd7",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 294.265,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64162,
    "c": 0.22182,
    "h": 323.8
  },
  "luminance": 0.23055
}

Semantic roles & 50–950 ramp

primary
#CA4FD7
secondary
#ABDCA6
accent
#E64251
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CA4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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