#CA2EDB#CA2EDB

#CA2EDB is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.6% C 0.260 H 323.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA2EDB
RGBrgb(202, 46, 219)
HSLhsl(294, 71%, 52%)
HSVhsv(294, 79%, 86%)
CMYKcmyk(7.8%, 79%, 0%, 14.1%)
CIE-LABlab(51.41, 78.15, -55.38)
CIE-LCHlch(51.41, 95.78, 324.68°)
OKLaboklab(61.58% 0.2095 -0.1548)
OKLCHoklch(61.58% 0.26 323.5)
XYZxyz(38.1191, 19.6274, 68.7848)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2EDB #3FDB2E
analogous
#742EDB #CA2EDB #DB2E96
triadic
#CA2EDB #DBCA2E #2EDBCA
tetradic
#CA2EDB #DB742E #3FDB2E #2E96DB
square
#CA2EDB #DB742E #3FDB2E #2E96DB
split-complementary
#CA2EDB #96DB2E #2EDB74
monochromatic
#70157A #A01EAE #CA2EDB #D762E4 #E496ED

Accessibility & contrast

On white

4.26
#CA2EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CA2EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2EDB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2EDB#FFFFFF#000000##000000
##CA2EDB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#CD5286
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca2edb;
/* rgb */ color: rgb(202, 46, 219);
/* oklch */ color: oklch(61.6% 0.260 323.5);
Tailwind
colors: {
  custom: {
    50: '#df7ae7',
    500: '#ca2edb',
    950: '#000000',
  },
}
SCSS
$custom: #ca2edb;
$custom-light: #df7ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2edb",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 294.104,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.26045,
    "h": 323.5
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#CA2EDB
secondary
#94D88D
accent
#ED3A4C
background
#FEF8FE
surface
#FCEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CA2EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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