#CA54F3#CA54F3

#CA54F3 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.240 H 316.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CA54F3
RGBrgb(202, 84, 243)
HSLhsl(285, 87%, 64%)
HSVhsv(285, 65%, 95%)
CMYKcmyk(16.9%, 65.4%, 0%, 4.7%)
CIE-LABlab(57.43, 69.39, -59.24)
CIE-LCHlch(57.43, 91.24, 319.51°)
OKLaboklab(66.32% 0.1732 -0.1663)
OKLCHoklch(66.32% 0.24 316.2)
XYZxyz(43.7026, 25.3699, 87.3714)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54F3 #7DF354
analogous
#7B54F3 #CA54F3 #F354CD
triadic
#CA54F3 #F3CA54 #54F3CA
tetradic
#CA54F3 #F37B54 #7DF354 #54CDF3
square
#CA54F3 #F37B54 #7DF354 #54CDF3
split-complementary
#CA54F3 #CDF354 #54F37B
monochromatic
#910DBF #B81BEF #CA54F3 #DC8DF7 #EDC6FB

Accessibility & contrast

On white

3.46
#CA54F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CA54F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54F3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54F3#FFFFFF#000000##000000
##CA54F31.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F8
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#C8729D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca54f3;
/* rgb */ color: rgb(202, 84, 243);
/* oklch */ color: oklch(66.3% 0.240 316.2);
Tailwind
colors: {
  custom: {
    50: '#de8cf8',
    500: '#ca54f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca54f3;
$custom-light: #de8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54f3",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 284.528,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66324,
    "c": 0.24013,
    "h": 316.2
  },
  "luminance": 0.25368
}

Semantic roles & 50–950 ramp

primary
#CA54F3
secondary
#C4EDB6
accent
#E3023C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA54F3

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

Preview Lab → · Contrast checker → · Palette generator →

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