#C511E2#C511E2

#C511E2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 60.0% C 0.280 H 320.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C511E2
RGBrgb(197, 17, 226)
HSLhsl(292, 86%, 48%)
HSVhsv(292, 92%, 89%)
CMYKcmyk(12.8%, 92.5%, 0%, 11.4%)
CIE-LABlab(49.21, 83.85, -62.95)
CIE-LCHlch(49.21, 104.85, 323.10°)
OKLaboklab(60.01% 0.2175 -0.177)
OKLCHoklch(60.01% 0.28 320.9)
XYZxyz(36.9523, 17.7643, 73.4193)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C511E2 #2EE211
analogous
#5D11E2 #C511E2 #E21196
triadic
#C511E2 #E2C511 #11E2C5
tetradic
#C511E2 #E25D11 #2EE211 #1196E2
square
#C511E2 #E25D11 #2EE211 #1196E2
split-complementary
#C511E2 #96E211 #11E25D
monochromatic
#620870 #930DA9 #C511E2 #D840F1 #E479F5

Accessibility & contrast

On white

4.61
#C511E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C511E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C511E2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C511E2#FFFFFF#000000##FFFFFF
##C511E21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#367ADE
Tritanopia (blue-blind)
#C64D86
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c511e2;
/* rgb */ color: rgb(197, 17, 226);
/* oklch */ color: oklch(60.0% 0.280 320.9);
Tailwind
colors: {
  custom: {
    50: '#dc72ec',
    500: '#c511e2',
    950: '#000000',
  },
}
SCSS
$custom: #c511e2;
$custom-light: #dc72ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c511e2",
  "rgb": {
    "r": 197,
    "g": 17,
    "b": 226
  },
  "hsl": {
    "h": 291.675,
    "s": 86.008,
    "l": 47.647
  },
  "oklch": {
    "l": 0.60015,
    "c": 0.28041,
    "h": 320.9
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#C511E2
secondary
#81DC73
accent
#FC2C49
background
#FEF7FE
surface
#FCEEFD
border
#D5C9D5
text
#160A16
muted
#847C84

Preview Lab

Preview with #C511E2

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

Preview Lab → · Contrast checker → · Palette generator →

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