#CA4FEF#CA4FEF

#CA4FEF is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.6% C 0.243 H 317.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CA4FEF
RGBrgb(202, 79, 239)
HSLhsl(286, 83%, 62%)
HSVhsv(286, 67%, 94%)
CMYKcmyk(15.5%, 66.9%, 0%, 6.3%)
CIE-LABlab(56.47, 70.67, -58.56)
CIE-LCHlch(56.47, 91.78, 320.36°)
OKLaboklab(65.56% 0.1787 -0.1643)
OKLCHoklch(65.56% 0.243 317.4)
XYZxyz(42.7308, 24.3823, 84.1000)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FEF #74EF4F
analogous
#7A4FEF #CA4FEF #EF4FC4
triadic
#CA4FEF #EFCA4F #4FEFCA
tetradic
#CA4FEF #EF7A4F #74EF4F #4FC4EF
square
#CA4FEF #EF7A4F #74EF4F #4FC4EF
split-complementary
#CA4FEF #C4EF4F #4FEF7A
monochromatic
#8E10B3 #B917EA #CA4FEF #DB87F4 #ECBFF9

Accessibility & contrast

On white

3.57
#CA4FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CA4FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FEF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FEF#FFFFFF#000000##000000
##CA4FEF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#C96D99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca4fef;
/* rgb */ color: rgb(202, 79, 239);
/* oklch */ color: oklch(65.6% 0.243 317.4);
Tailwind
colors: {
  custom: {
    50: '#de89f5',
    500: '#ca4fef',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fef;
$custom-light: #de89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fef",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 286.125,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65556,
    "c": 0.24271,
    "h": 317.4
  },
  "luminance": 0.24381
}

Semantic roles & 50–950 ramp

primary
#CA4FEF
secondary
#BDEAB0
accent
#E00638
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA4FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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