#CA4EF7#CA4EF7

#CA4EF7 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.9% C 0.251 H 315.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CA4EF7
RGBrgb(202, 78, 247)
HSLhsl(284, 91%, 64%)
HSVhsv(284, 68%, 97%)
CMYKcmyk(18.2%, 68.4%, 0%, 3.1%)
CIE-LABlab(56.80, 72.59, -62.48)
CIE-LCHlch(56.80, 95.77, 319.28°)
OKLaboklab(65.95% 0.1792 -0.1758)
OKLCHoklch(65.95% 0.251 315.5)
XYZxyz(43.8673, 24.7224, 90.4388)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4EF7 #7BF74E
analogous
#754EF7 #CA4EF7 #F74ECF
triadic
#CA4EF7 #F7CA4E #4EF7CA
tetradic
#CA4EF7 #F7754E #7BF74E #4ECFF7
square
#CA4EF7 #F7754E #7BF74E #4ECFF7
split-complementary
#CA4EF7 #CFF74E #4EF775
monochromatic
#9109C2 #B813F4 #CA4EF7 #DC89FA #EDC3FC

Accessibility & contrast

On white

3.53
#CA4EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CA4EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4EF7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4EF7#FFFFFF#000000##000000
##CA4EF71.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#4B8CF3
Tritanopia (blue-blind)
#C7709D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca4ef7;
/* rgb */ color: rgb(202, 78, 247);
/* oklch */ color: oklch(65.9% 0.251 315.5);
Tailwind
colors: {
  custom: {
    50: '#de89fb',
    500: '#ca4ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ef7;
$custom-light: #de89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ef7",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 284.024,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.251,
    "h": 315.5
  },
  "luminance": 0.24721
}

Semantic roles & 50–950 ramp

primary
#CA4EF7
secondary
#C2EEB3
accent
#E6003D
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA4EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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