#CA4FE2#CA4FE2

#CA4FE2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.8% C 0.231 H 320.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CA4FE2
RGBrgb(202, 79, 226)
HSLhsl(290, 72%, 60%)
HSVhsv(290, 65%, 89%)
CMYKcmyk(10.6%, 65%, 0%, 11.4%)
CIE-LABlab(55.73, 68.25, -52.45)
CIE-LCHlch(55.73, 86.08, 322.46°)
OKLaboklab(64.78% 0.179 -0.1464)
OKLCHoklch(64.78% 0.231 320.7)
XYZxyz(40.8790, 23.6415, 74.3468)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FE2 #67E24F
analogous
#814FE2 #CA4FE2 #E24FB1
triadic
#CA4FE2 #E2CA4F #4FE2CA
tetradic
#CA4FE2 #E2814F #67E24F #4FB1E2
square
#CA4FE2 #E2814F #67E24F #4FB1E2
split-complementary
#CA4FE2 #B1E24F #4FE281
monochromatic
#871A9D #B522D1 #CA4FE2 #DA84EB #EAB8F3

Accessibility & contrast

On white

3.67
#CA4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CA4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FE2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FE2#FFFFFF#000000##000000
##CA4FE21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#237DE6
Deuteranopia (green-blind)
#5E8ADE
Tritanopia (blue-blind)
#CB6892
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca4fe2;
/* rgb */ color: rgb(202, 79, 226);
/* oklch */ color: oklch(64.8% 0.231 320.7);
Tailwind
colors: {
  custom: {
    50: '#de89ec',
    500: '#ca4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fe2;
$custom-light: #de89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fe2",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 290.204,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64784,
    "c": 0.2313,
    "h": 320.7
  },
  "luminance": 0.2364
}

Semantic roles & 50–950 ramp

primary
#CA4FE2
secondary
#B3E3AA
accent
#EE3957
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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