#C272FD#C272FD

#C272FD is a light, highly saturated violet. Relative luminance 0.306; OKLCH L 69.7% C 0.206 H 308.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C272FD
RGBrgb(194, 114, 253)
HSLhsl(275, 97%, 72%)
HSVhsv(275, 55%, 99%)
CMYKcmyk(23.3%, 54.9%, 0%, 0.8%)
CIE-LABlab(62.17, 55.62, -57.27)
CIE-LCHlch(62.17, 79.83, 314.16°)
OKLaboklab(69.73% 0.1283 -0.1609)
OKLCHoklch(69.73% 0.206 308.6)
XYZxyz(45.9916, 30.5965, 96.3923)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272FD #ADFD72
analogous
#7D72FD #C272FD #FD72F3
triadic
#C272FD #FDC272 #72FDC2
tetradic
#C272FD #FD7D72 #ADFD72 #72F3FD
square
#C272FD #FD7D72 #ADFD72 #72F3FD
split-complementary
#C272FD #F3FD72 #72FD7D
monochromatic
#8C03F1 #A836FC #C272FD #DCAEFE #F2E1FF

Accessibility & contrast

On white

2.95
#C272FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C272FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C272FD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272FD#FFFFFF#000000##000000
##C272FD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#6197FA
Tritanopia (blue-blind)
#BA8BAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c272fd;
/* rgb */ color: rgb(194, 114, 253);
/* oklch */ color: oklch(69.7% 0.206 308.6);
Tailwind
colors: {
  custom: {
    50: '#d89dff',
    500: '#c272fd',
    950: '#000000',
  },
}
SCSS
$custom: #c272fd;
$custom-light: #d89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c272fd",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 274.532,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69733,
    "c": 0.20584,
    "h": 308.6
  },
  "luminance": 0.30596
}

Semantic roles & 50–950 ramp

primary
#C272FD
secondary
#E3F7D4
accent
#E60061
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C272FD

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

Preview Lab → · Contrast checker → · Palette generator →

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