#CA4FE8#CA4FE8

#CA4FE8 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.237 H 319.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CA4FE8
RGBrgb(202, 79, 232)
HSLhsl(288, 77%, 61%)
HSVhsv(288, 66%, 91%)
CMYKcmyk(12.9%, 65.9%, 0%, 9%)
CIE-LABlab(56.06, 69.36, -55.28)
CIE-LCHlch(56.06, 88.69, 321.44°)
OKLaboklab(65.14% 0.1789 -0.1547)
OKLCHoklch(65.14% 0.237 319.1)
XYZxyz(41.7167, 23.9766, 78.7588)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FE8 #6DE84F
analogous
#7D4FE8 #CA4FE8 #E84FB9
triadic
#CA4FE8 #E8CA4F #4FE8CA
tetradic
#CA4FE8 #E87D4F #6DE84F #4FB9E8
square
#CA4FE8 #E87D4F #6DE84F #4FB9E8
split-complementary
#CA4FE8 #B9E84F #4FE87D
monochromatic
#8A16A7 #B71DDD #CA4FE8 #DA85EF #EBBBF6

Accessibility & contrast

On white

3.62
#CA4FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CA4FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FE8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FE8#FFFFFF#000000##000000
##CA4FE81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#147EED
Deuteranopia (green-blind)
#598BE4
Tritanopia (blue-blind)
#CA6B95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca4fe8;
/* rgb */ color: rgb(202, 79, 232);
/* oklch */ color: oklch(65.1% 0.237 319.1);
Tailwind
colors: {
  custom: {
    50: '#de89f0',
    500: '#ca4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fe8;
$custom-light: #de89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fe8",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 288.235,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65136,
    "c": 0.23655,
    "h": 319.1
  },
  "luminance": 0.23975
}

Semantic roles & 50–950 ramp

primary
#CA4FE8
secondary
#B8E6AD
accent
#D90C35
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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