#C272DA#C272DA

#C272DA is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.9% C 0.168 H 318.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#C272DA
RGBrgb(194, 114, 218)
HSLhsl(286, 58%, 65%)
HSVhsv(286, 48%, 85%)
CMYKcmyk(11%, 47.7%, 0%, 14.5%)
CIE-LABlab(60.40, 48.24, -40.63)
CIE-LCHlch(60.40, 63.07, 319.90°)
OKLaboklab(67.85% 0.1252 -0.1125)
OKLCHoklch(67.85% 0.168 318)
XYZxyz(40.9186, 28.5673, 69.6747)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272DA #8ADA72
analogous
#8E72DA #C272DA #DA72BE
triadic
#C272DA #DAC272 #72DAC2
tetradic
#C272DA #DA8E72 #8ADA72 #72BEDA
square
#C272DA #DA8E72 #8ADA72 #72BEDA
split-complementary
#C272DA #BEDA72 #72DA8E
monochromatic
#8A2CA6 #AD42CD #C272DA #D7A2E7 #ECD3F3

Accessibility & contrast

On white

3.13
#C272DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#C272DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272DA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272DA#FFFFFF#000000##000000
##C272DA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8CDE
Deuteranopia (green-blind)
#7794D7
Tritanopia (blue-blind)
#C2819C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c272da;
/* rgb */ color: rgb(194, 114, 218);
/* oklch */ color: oklch(67.9% 0.168 318.0);
Tailwind
colors: {
  custom: {
    50: '#d69de6',
    500: '#c272da',
    950: '#000000',
  },
}
SCSS
$custom: #c272da;
$custom-light: #d69de6;
$custom-dark: #000000;
JSON
{
  "hex": "#c272da",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 286.154,
    "s": 58.427,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67854,
    "c": 0.16832,
    "h": 318
  },
  "luminance": 0.28566
}

Semantic roles & 50–950 ramp

primary
#C272DA
secondary
#CAE6C2
accent
#C61F46
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C272DA

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

Preview Lab → · Contrast checker → · Palette generator →

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