#C272FC#C272FC

#C272FC is a light, highly saturated violet. Relative luminance 0.305; OKLCH L 69.7% C 0.205 H 308.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#C272FC
RGBrgb(194, 114, 252)
HSLhsl(275, 96%, 72%)
HSVhsv(275, 55%, 99%)
CMYKcmyk(23%, 54.8%, 0%, 1.2%)
CIE-LABlab(62.11, 55.40, -56.81)
CIE-LCHlch(62.11, 79.35, 314.28°)
OKLaboklab(69.68% 0.1283 -0.1596)
OKLCHoklch(69.68% 0.205 308.8)
XYZxyz(45.8327, 30.5329, 95.5556)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272FC #ACFC72
analogous
#7D72FC #C272FC #FC72F1
triadic
#C272FC #FCC272 #72FCC2
tetradic
#C272FC #FC7D72 #ACFC72 #72F1FC
square
#C272FC #FC7D72 #ACFC72 #72F1FC
split-complementary
#C272FC #F1FC72 #72FC7D
monochromatic
#8C05EF #A836FB #C272FC #DCAEFD #F2E1FE

Accessibility & contrast

On white

2.96
#C272FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#C272FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C272FC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272FC#FFFFFF#000000##000000
##C272FC1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#6297F9
Tritanopia (blue-blind)
#BA8BAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c272fc;
/* rgb */ color: rgb(194, 114, 252);
/* oklch */ color: oklch(69.7% 0.205 308.8);
Tailwind
colors: {
  custom: {
    50: '#d79dfe',
    500: '#c272fc',
    950: '#000000',
  },
}
SCSS
$custom: #c272fc;
$custom-light: #d79dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c272fc",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 274.783,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69676,
    "c": 0.20476,
    "h": 308.8
  },
  "luminance": 0.30532
}

Semantic roles & 50–950 ramp

primary
#C272FC
secondary
#E2F6D3
accent
#E60060
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C272FC

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

Preview Lab → · Contrast checker → · Palette generator →

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