#C272EC#C272EC

#C272EC is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.8% C 0.187 H 312.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#C272EC
RGBrgb(194, 114, 236)
HSLhsl(279, 76%, 69%)
HSVhsv(279, 52%, 93%)
CMYKcmyk(17.8%, 51.7%, 0%, 7.5%)
CIE-LABlab(61.27, 51.96, -49.29)
CIE-LCHlch(61.27, 71.62, 316.51°)
OKLaboklab(68.79% 0.1272 -0.1377)
OKLCHoklch(68.79% 0.187 312.7)
XYZxyz(43.4032, 29.5611, 82.7601)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272EC #9CEC72
analogous
#8572EC #C272EC #EC72D9
triadic
#C272EC #ECC272 #72ECC2
tetradic
#C272EC #EC8572 #9CEC72 #72D9EC
square
#C272EC #EC8572 #9CEC72 #72D9EC
split-complementary
#C272EC #D9EC72 #72EC85
monochromatic
#8D1BC9 #AB3CE5 #C272EC #D9A8F3 #F1DEFB

Accessibility & contrast

On white

3.04
#C272EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#C272EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272EC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272EC#FFFFFF#000000##000000
##C272EC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#BE86A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c272ec;
/* rgb */ color: rgb(194, 114, 236);
/* oklch */ color: oklch(68.8% 0.187 312.7);
Tailwind
colors: {
  custom: {
    50: '#d79df2',
    500: '#c272ec',
    950: '#000000',
  },
}
SCSS
$custom: #c272ec;
$custom-light: #d79df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c272ec",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 279.344,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68788,
    "c": 0.18746,
    "h": 312.7
  },
  "luminance": 0.2956
}

Semantic roles & 50–950 ramp

primary
#C272EC
secondary
#D7EFCB
accent
#D80D53
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272EC

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

Preview Lab → · Contrast checker → · Palette generator →

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