#C13DE2#C13DE2

#C13DE2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.9% C 0.249 H 318.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C13DE2
RGBrgb(193, 61, 226)
HSLhsl(288, 74%, 56%)
HSVhsv(288, 73%, 89%)
CMYKcmyk(14.6%, 73%, 0%, 11.4%)
CIE-LABlab(52.03, 73.13, -58.44)
CIE-LCHlch(52.03, 93.62, 321.37°)
OKLaboklab(61.87% 0.1866 -0.1641)
OKLCHoklch(61.87% 0.249 318.7)
XYZxyz(37.3867, 20.1677, 73.8602)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C13DE2 #5EE23D
analogous
#6F3DE2 #C13DE2 #E23DB1
triadic
#C13DE2 #E2C13D #3DE2C1
tetradic
#C13DE2 #E26F3D #5EE23D #3DB1E2
square
#C13DE2 #E26F3D #5EE23D #3DB1E2
split-complementary
#C13DE2 #B1E23D #3DE26F
monochromatic
#77158F #A31DC4 #C13DE2 #D272EA #E3A7F2

Accessibility & contrast

On white

4.17
#C13DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C13DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C13DE2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C13DE2#FFFFFF#000000##000000
##C13DE21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#4780DE
Tritanopia (blue-blind)
#C05F8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c13de2;
/* rgb */ color: rgb(193, 61, 226);
/* oklch */ color: oklch(61.9% 0.249 318.7);
Tailwind
colors: {
  custom: {
    50: '#d87fec',
    500: '#c13de2',
    950: '#000000',
  },
}
SCSS
$custom: #c13de2;
$custom-light: #d87fec;
$custom-dark: #000000;
JSON
{
  "hex": "#c13de2",
  "rgb": {
    "r": 193,
    "g": 61,
    "b": 226
  },
  "hsl": {
    "h": 288,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61874,
    "c": 0.24854,
    "h": 318.7
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#C13DE2
secondary
#A9DF9B
accent
#F1375C
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C13DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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