#CA4FEA#CA4FEA

#CA4FEA is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.3% C 0.238 H 318.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CA4FEA
RGBrgb(202, 79, 234)
HSLhsl(288, 79%, 61%)
HSVhsv(288, 66%, 92%)
CMYKcmyk(13.7%, 66.2%, 0%, 8.2%)
CIE-LABlab(56.18, 69.73, -56.22)
CIE-LCHlch(56.18, 89.57, 321.12°)
OKLaboklab(65.26% 0.1789 -0.1575)
OKLCHoklch(65.26% 0.238 318.6)
XYZxyz(42.0024, 24.0909, 80.2635)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FEA #6FEA4F
analogous
#7D4FEA #CA4FEA #EA4FBD
triadic
#CA4FEA #EACA4F #4FEACA
tetradic
#CA4FEA #EA7D4F #6FEA4F #4FBDEA
square
#CA4FEA #EA7D4F #6FEA4F #4FBDEA
split-complementary
#CA4FEA #BDEA4F #4FEA7D
monochromatic
#8B14AA #B81BE1 #CA4FEA #DA86F1 #EBBCF7

Accessibility & contrast

On white

3.61
#CA4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CA4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FEA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FEA#FFFFFF#000000##000000
##CA4FEA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7FEF
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#CA6B96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca4fea;
/* rgb */ color: rgb(202, 79, 234);
/* oklch */ color: oklch(65.3% 0.238 318.6);
Tailwind
colors: {
  custom: {
    50: '#de89f1',
    500: '#ca4fea',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fea;
$custom-light: #de89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fea",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 287.613,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65255,
    "c": 0.23831,
    "h": 318.6
  },
  "luminance": 0.24089
}

Semantic roles & 50–950 ramp

primary
#CA4FEA
secondary
#B9E7AD
accent
#DB0B36
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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