#CA4FEC#CA4FEC

#CA4FEC is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.4% C 0.240 H 318.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CA4FEC
RGBrgb(202, 79, 236)
HSLhsl(287, 81%, 62%)
HSVhsv(287, 67%, 93%)
CMYKcmyk(14.4%, 66.5%, 0%, 7.5%)
CIE-LABlab(56.29, 70.10, -57.16)
CIE-LCHlch(56.29, 90.45, 320.81°)
OKLaboklab(65.37% 0.1788 -0.1602)
OKLCHoklch(65.37% 0.24 318.1)
XYZxyz(42.2913, 24.2065, 81.7852)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FEC #71EC4F
analogous
#7B4FEC #CA4FEC #EC4FC0
triadic
#CA4FEC #ECCA4F #4FECCA
tetradic
#CA4FEC #EC7B4F #71EC4F #4FC0EC
square
#CA4FEC #EC7B4F #71EC4F #4FC0EC
split-complementary
#CA4FEC #C0EC4F #4FEC7B
monochromatic
#8C13AE #B919E5 #CA4FEC #DB86F2 #EBBDF8

Accessibility & contrast

On white

3.60
#CA4FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CA4FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FEC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FEC#FFFFFF#000000##000000
##CA4FEC1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#017FF1
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#C96C98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca4fec;
/* rgb */ color: rgb(202, 79, 236);
/* oklch */ color: oklch(65.4% 0.240 318.1);
Tailwind
colors: {
  custom: {
    50: '#de89f3',
    500: '#ca4fec',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fec;
$custom-light: #de89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fec",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 287.006,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65374,
    "c": 0.24007,
    "h": 318.1
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#CA4FEC
secondary
#BBE8AE
accent
#DD0937
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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