#C272EE#C272EE

#C272EE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.9% C 0.190 H 312.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#C272EE
RGBrgb(194, 114, 238)
HSLhsl(279, 78%, 69%)
HSVhsv(279, 52%, 93%)
CMYKcmyk(18.5%, 52.1%, 0%, 6.7%)
CIE-LABlab(61.38, 52.38, -50.24)
CIE-LCHlch(61.38, 72.58, 316.19°)
OKLaboklab(68.9% 0.1274 -0.1404)
OKLCHoklch(68.9% 0.19 312.2)
XYZxyz(43.6954, 29.6780, 84.2990)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272EE #9EEE72
analogous
#8472EE #C272EE #EE72DC
triadic
#C272EE #EEC272 #72EEC2
tetradic
#C272EE #EE8472 #9EEE72 #72DCEE
square
#C272EE #EE8472 #9EEE72 #72DCEE
split-complementary
#C272EE #DCEE72 #72EE84
monochromatic
#8D19CD #AA3BE7 #C272EE #DAA9F5 #F1DFFB

Accessibility & contrast

On white

3.03
#C272EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#C272EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272EE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272EE#FFFFFF#000000##000000
##C272EE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#BD87A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c272ee;
/* rgb */ color: rgb(194, 114, 238);
/* oklch */ color: oklch(68.9% 0.190 312.2);
Tailwind
colors: {
  custom: {
    50: '#d79df4',
    500: '#c272ee',
    950: '#000000',
  },
}
SCSS
$custom: #c272ee;
$custom-light: #d79df4;
$custom-dark: #000000;
JSON
{
  "hex": "#c272ee",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 278.71,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68896,
    "c": 0.18961,
    "h": 312.2
  },
  "luminance": 0.29677
}

Semantic roles & 50–950 ramp

primary
#C272EE
secondary
#D9F0CC
accent
#DB0B55
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272EE

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

Preview Lab → · Contrast checker → · Palette generator →

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