#CA46BA#CA46BA

#CA46BA is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.210 H 333.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CA46BA
RGBrgb(202, 70, 186)
HSLhsl(307, 55%, 53%)
HSVhsv(307, 65%, 79%)
CMYKcmyk(0%, 65.3%, 7.9%, 20.8%)
CIE-LABlab(52.38, 65.03, -34.88)
CIE-LCHlch(52.38, 73.79, 331.79°)
OKLaboklab(61.7% 0.1873 -0.0955)
OKLCHoklch(61.7% 0.21 333)
XYZxyz(35.4103, 20.4848, 48.5338)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA46BA #46CA56
analogous
#9846CA #CA46BA #CA4678
triadic
#CA46BA #BACA46 #46BACA
tetradic
#CA46BA #CA9846 #46CA56 #4678CA
square
#CA46BA #CA9846 #46CA56 #4678CA
split-complementary
#CA46BA #78CA46 #46CA98
monochromatic
#74216A #A42F96 #CA46BA #D876CC #E5A5DD

Accessibility & contrast

On white

4.12
#CA46BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CA46BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA46BA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA46BA#FFFFFF#000000##000000
##CA46BA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#6F84B7
Tritanopia (blue-blind)
#D3517A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca46ba;
/* rgb */ color: rgb(202, 70, 186);
/* oklch */ color: oklch(61.7% 0.210 333.0);
Tailwind
colors: {
  custom: {
    50: '#de83cf',
    500: '#ca46ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca46ba;
$custom-light: #de83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca46ba",
  "rgb": {
    "r": 202,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 307.273,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.21023,
    "h": 333
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#CA46BA
secondary
#9AD2A0
accent
#DF5B49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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