#CA54FF#CA54FF

#CA54FF is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.1% C 0.251 H 313.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CA54FF
RGBrgb(202, 84, 255)
HSLhsl(281, 100%, 66%)
HSVhsv(281, 67%, 100%)
CMYKcmyk(20.8%, 67.1%, 0%, 0%)
CIE-LABlab(58.15, 71.74, -64.75)
CIE-LCHlch(58.15, 96.64, 317.93°)
OKLaboklab(67.07% 0.1725 -0.1825)
OKLCHoklch(67.07% 0.251 313.4)
XYZxyz(45.5743, 26.1186, 97.2290)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54FF #89FF54
analogous
#7554FF #CA54FF #FF54DE
triadic
#CA54FF #FFCA54 #54FFCA
tetradic
#CA54FF #FF7554 #89FF54 #54DEFF
square
#CA54FF #FF7554 #89FF54 #54DEFF
split-complementary
#CA54FF #DEFF54 #54FF75
monochromatic
#9500D9 #B717FF #CA54FF #DD91FF #F0CEFF

Accessibility & contrast

On white

3.37
#CA54FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CA54FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54FF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54FF#FFFFFF#000000##000000
##CA54FF1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#488EFB
Tritanopia (blue-blind)
#C577A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca54ff;
/* rgb */ color: rgb(202, 84, 255);
/* oklch */ color: oklch(67.1% 0.251 313.4);
Tailwind
colors: {
  custom: {
    50: '#de8cff',
    500: '#ca54ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca54ff;
$custom-light: #de8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54ff",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 281.404,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67066,
    "c": 0.25108,
    "h": 313.4
  },
  "luminance": 0.26117
}

Semantic roles & 50–950 ramp

primary
#CA54FF
secondary
#CDF3BC
accent
#E60047
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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