#CA4FED#CA4FED

#CA4FED is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.241 H 317.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CA4FED
RGBrgb(202, 79, 237)
HSLhsl(287, 81%, 62%)
HSVhsv(287, 67%, 93%)
CMYKcmyk(14.8%, 66.7%, 0%, 7.1%)
CIE-LABlab(56.35, 70.29, -57.63)
CIE-LCHlch(56.35, 90.89, 320.66°)
OKLaboklab(65.44% 0.1788 -0.1616)
OKLCHoklch(65.44% 0.241 317.9)
XYZxyz(42.4370, 24.2648, 82.5525)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FED #72ED4F
analogous
#7B4FED #CA4FED #ED4FC1
triadic
#CA4FED #EDCA4F #4FEDCA
tetradic
#CA4FED #ED7B4F #72ED4F #4FC1ED
square
#CA4FED #ED7B4F #72ED4F #4FC1ED
split-complementary
#CA4FED #C1ED4F #4FED7B
monochromatic
#8D12B0 #B918E7 #CA4FED #DB87F3 #EBBEF8

Accessibility & contrast

On white

3.59
#CA4FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CA4FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FED
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FED#FFFFFF#000000##000000
##CA4FED1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#C96D98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca4fed;
/* rgb */ color: rgb(202, 79, 237);
/* oklch */ color: oklch(65.4% 0.241 317.9);
Tailwind
colors: {
  custom: {
    50: '#de89f3',
    500: '#ca4fed',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fed;
$custom-light: #de89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fed",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 286.709,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65435,
    "c": 0.24095,
    "h": 317.9
  },
  "luminance": 0.24263
}

Semantic roles & 50–950 ramp

primary
#CA4FED
secondary
#BCE9AF
accent
#DE0837
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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