#C272EA#C272EA

#C272EA is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.7% C 0.185 H 313.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#C272EA
RGBrgb(194, 114, 234)
HSLhsl(280, 74%, 68%)
HSVhsv(280, 51%, 92%)
CMYKcmyk(17.1%, 51.3%, 0%, 8.2%)
CIE-LABlab(61.17, 51.53, -48.34)
CIE-LCHlch(61.17, 70.66, 316.83°)
OKLaboklab(68.68% 0.1271 -0.1349)
OKLCHoklch(68.68% 0.185 313.3)
XYZxyz(43.1142, 29.4455, 81.2383)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272EA #9AEA72
analogous
#8672EA #C272EA #EA72D6
triadic
#C272EA #EAC272 #72EAC2
tetradic
#C272EA #EA8672 #9AEA72 #72D6EA
square
#C272EA #EA8672 #9AEA72 #72D6EA
split-complementary
#C272EA #D6EA72 #72EA86
monochromatic
#8D1DC4 #AB3DE2 #C272EA #D9A7F2 #F0DDFA

Accessibility & contrast

On white

3.05
#C272EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#C272EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272EA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272EA#FFFFFF#000000##000000
##C272EA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#6E96E7
Tritanopia (blue-blind)
#BE85A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c272ea;
/* rgb */ color: rgb(194, 114, 234);
/* oklch */ color: oklch(68.7% 0.185 313.3);
Tailwind
colors: {
  custom: {
    50: '#d79df1',
    500: '#c272ea',
    950: '#000000',
  },
}
SCSS
$custom: #c272ea;
$custom-light: #d79df1;
$custom-dark: #000000;
JSON
{
  "hex": "#c272ea",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 280,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6868,
    "c": 0.18531,
    "h": 313.3
  },
  "luminance": 0.29444
}

Semantic roles & 50–950 ramp

primary
#C272EA
secondary
#D6EECA
accent
#D60F52
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272EA

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

Preview Lab → · Contrast checker → · Palette generator →

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