#C91EC2#C91EC2

#C91EC2 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 59.1% C 0.254 H 330.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C91EC2
RGBrgb(201, 30, 194)
HSLhsl(302, 74%, 45%)
HSVhsv(302, 85%, 79%)
CMYKcmyk(0%, 85.1%, 3.5%, 21.2%)
CIE-LABlab(48.57, 77.64, -45.56)
CIE-LCHlch(48.57, 90.02, 329.59°)
OKLaboklab(59.06% 0.2202 -0.1261)
OKLCHoklch(59.06% 0.254 330.2)
XYZxyz(34.2892, 17.2439, 52.5510)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C91EC2 #1EC925
analogous
#7A1EC9 #C91EC2 #C91E6D
triadic
#C91EC2 #C2C91E #1EC2C9
tetradic
#C91EC2 #C97A1E #1EC925 #1E6DC9
square
#C91EC2 #C97A1E #1EC925 #1E6DC9
split-complementary
#C91EC2 #6DC91E #1EC97A
monochromatic
#5E0E5B #94168F #C91EC2 #E341DC #EB77E6

Accessibility & contrast

On white

4.72
#C91EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C91EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C91EC2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C91EC2#FFFFFF#000000##FFFFFF
##C91EC21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#5A7BBE
Tritanopia (blue-blind)
#D13C74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c91ec2;
/* rgb */ color: rgb(201, 30, 194);
/* oklch */ color: oklch(59.1% 0.254 330.2);
Tailwind
colors: {
  custom: {
    50: '#de74d5',
    500: '#c91ec2',
    950: '#000000',
  },
}
SCSS
$custom: #c91ec2;
$custom-light: #de74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c91ec2",
  "rgb": {
    "r": 201,
    "g": 30,
    "b": 194
  },
  "hsl": {
    "h": 302.456,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.25373,
    "h": 330.2
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#C91EC2
secondary
#71D275
accent
#F13F37
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C91EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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