#CA3AFF#CA3AFF

#CA3AFF is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.7% C 0.278 H 314.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CA3AFF
RGBrgb(202, 58, 255)
HSLhsl(284, 100%, 61%)
HSVhsv(284, 77%, 100%)
CMYKcmyk(20.8%, 77.3%, 0%, 0%)
CIE-LABlab(54.87, 81.07, -70.04)
CIE-LCHlch(54.87, 107.14, 319.18°)
OKLaboklab(64.74% 0.1958 -0.1978)
OKLCHoklch(64.74% 0.278 314.7)
XYZxyz(43.9172, 22.8043, 96.6766)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3AFF #6FFF3A
analogous
#683AFF #CA3AFF #FF3AD2
triadic
#CA3AFF #FFCA3A #3AFFCA
tetradic
#CA3AFF #FF683A #6FFF3A #3AD2FF
square
#CA3AFF #FF683A #6FFF3A #3AD2FF
split-complementary
#CA3AFF #D2FF3A #3AFF68
monochromatic
#8B00BF #B800FC #CA3AFF #DA77FF #EBB4FF

Accessibility & contrast

On white

3.78
#CA3AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CA3AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3AFF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3AFF#FFFFFF#000000##000000
##CA3AFF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#2C87FB
Tritanopia (blue-blind)
#C5699D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca3aff;
/* rgb */ color: rgb(202, 58, 255);
/* oklch */ color: oklch(64.7% 0.278 314.7);
Tailwind
colors: {
  custom: {
    50: '#df80ff',
    500: '#ca3aff',
    950: '#000000',
  },
}
SCSS
$custom: #ca3aff;
$custom-light: #df80ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3aff",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 255
  },
  "hsl": {
    "h": 283.858,
    "s": 100,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64739,
    "c": 0.27832,
    "h": 314.7
  },
  "luminance": 0.22803
}

Semantic roles & 50–950 ramp

primary
#CA3AFF
secondary
#B9EFA6
accent
#E6003E
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160B18
muted
#847C86

Preview Lab

Preview with #CA3AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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