#CA2DCF#CA2DCF

#CA2DCF is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.8% C 0.252 H 326.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CA2DCF
RGBrgb(202, 45, 207)
HSLhsl(298, 64%, 49%)
HSVhsv(298, 78%, 81%)
CMYKcmyk(2.4%, 78.3%, 0%, 18.8%)
CIE-LABlab(50.62, 76.47, -49.79)
CIE-LCHlch(50.62, 91.25, 326.93°)
OKLaboklab(60.79% 0.2111 -0.1385)
OKLCHoklch(60.79% 0.252 326.7)
XYZxyz(36.5574, 18.9409, 60.7499)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DCF #32CF2D
analogous
#792DCF #CA2DCF #CF2D83
triadic
#CA2DCF #CFCA2D #2DCFCA
tetradic
#CA2DCF #CF792D #32CF2D #2D83CF
square
#CA2DCF #CF792D #32CF2D #2D83CF
split-complementary
#CA2DCF #83CF2D #2DCF79
monochromatic
#68176A #99229D #CA2DCF #D85DDC #E490E7

Accessibility & contrast

On white

4.39
#CA2DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CA2DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2DCF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DCF#FFFFFF#000000##000000
##CA2DCF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#D04B7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2dcf;
/* rgb */ color: rgb(202, 45, 207);
/* oklch */ color: oklch(60.8% 0.252 326.7);
Tailwind
colors: {
  custom: {
    50: '#de79de',
    500: '#ca2dcf',
    950: '#000000',
  },
}
SCSS
$custom: #ca2dcf;
$custom-light: #de79de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2dcf",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 207
  },
  "hsl": {
    "h": 298.148,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.25245,
    "h": 326.7
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#CA2DCF
secondary
#89D187
accent
#E74146
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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