#CA54F2#CA54F2

#CA54F2 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.3% C 0.239 H 316.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CA54F2
RGBrgb(202, 84, 242)
HSLhsl(285, 86%, 64%)
HSVhsv(285, 65%, 95%)
CMYKcmyk(16.5%, 65.3%, 0%, 5.1%)
CIE-LABlab(57.38, 69.20, -58.78)
CIE-LCHlch(57.38, 90.79, 319.65°)
OKLaboklab(66.26% 0.1732 -0.165)
OKLCHoklch(66.26% 0.239 316.4)
XYZxyz(43.5520, 25.3097, 86.5783)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54F2 #7CF254
analogous
#7B54F2 #CA54F2 #F254CB
triadic
#CA54F2 #F2CA54 #54F2CA
tetradic
#CA54F2 #F27B54 #7CF254 #54CBF2
square
#CA54F2 #F27B54 #7CF254 #54CBF2
split-complementary
#CA54F2 #CBF254 #54F27B
monochromatic
#910EBD #B81BEE #CA54F2 #DC8DF6 #EDC6FB

Accessibility & contrast

On white

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

On black

6.06
#CA54F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54F2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54F2#FFFFFF#000000##000000
##CA54F21.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0483F7
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#C8729C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca54f2;
/* rgb */ color: rgb(202, 84, 242);
/* oklch */ color: oklch(66.3% 0.239 316.4);
Tailwind
colors: {
  custom: {
    50: '#de8cf7',
    500: '#ca54f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca54f2;
$custom-light: #de8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54f2",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 284.81,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.23921,
    "h": 316.4
  },
  "luminance": 0.25308
}

Semantic roles & 50–950 ramp

primary
#CA54F2
secondary
#C3EDB5
accent
#E2033C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA54F2

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

Preview Lab → · Contrast checker → · Palette generator →

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