#C272EF#C272EF

#C272EF is a light, vivid violet. Relative luminance 0.297; OKLCH L 69.0% C 0.191 H 312.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#C272EF
RGBrgb(194, 114, 239)
HSLhsl(278, 80%, 69%)
HSVhsv(278, 52%, 94%)
CMYKcmyk(18.8%, 52.3%, 0%, 6.3%)
CIE-LABlab(61.43, 52.59, -50.71)
CIE-LCHlch(61.43, 73.06, 316.04°)
OKLaboklab(68.95% 0.1275 -0.1418)
OKLCHoklch(68.95% 0.191 312)
XYZxyz(43.8427, 29.7369, 85.0748)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272EF #9FEF72
analogous
#8472EF #C272EF #EF72DE
triadic
#C272EF #EFC272 #72EFC2
tetradic
#C272EF #EF8472 #9FEF72 #72DEEF
square
#C272EF #EF8472 #9FEF72 #72DEEF
split-complementary
#C272EF #DEEF72 #72EF84
monochromatic
#8D18CF #AA3BE9 #C272EF #DAA9F5 #F2E0FB

Accessibility & contrast

On white

3.02
#C272EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#C272EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272EF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272EF#FFFFFF#000000##000000
##C272EF1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#BD87A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c272ef;
/* rgb */ color: rgb(194, 114, 239);
/* oklch */ color: oklch(69.0% 0.191 312.0);
Tailwind
colors: {
  custom: {
    50: '#d79df5',
    500: '#c272ef',
    950: '#000000',
  },
}
SCSS
$custom: #c272ef;
$custom-light: #d79df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c272ef",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 278.4,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6895,
    "c": 0.19069,
    "h": 312
  },
  "luminance": 0.29736
}

Semantic roles & 50–950 ramp

primary
#C272EF
secondary
#D9F1CC
accent
#DC0A55
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272EF

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

Preview Lab → · Contrast checker → · Palette generator →

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