#C272FE#C272FE

#C272FE is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 69.8% C 0.207 H 308.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#C272FE
RGBrgb(194, 114, 254)
HSLhsl(274, 99%, 72%)
HSVhsv(274, 55%, 100%)
CMYKcmyk(23.6%, 55.1%, 0%, 0.4%)
CIE-LABlab(62.22, 55.84, -57.73)
CIE-LCHlch(62.22, 80.32, 314.04°)
OKLaboklab(69.79% 0.1284 -0.1623)
OKLCHoklch(69.79% 0.207 308.3)
XYZxyz(46.1513, 30.6604, 97.2335)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272FE #AEFE72
analogous
#7C72FE #C272FE #FE72F4
triadic
#C272FE #FEC272 #72FEC2
tetradic
#C272FE #FE7C72 #AEFE72 #72F4FE
square
#C272FE #FE7C72 #AEFE72 #72F4FE
split-complementary
#C272FE #F4FE72 #72FE7C
monochromatic
#8C02F4 #A835FE #C272FE #DCAFFE #F2E1FF

Accessibility & contrast

On white

2.94
#C272FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#C272FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C272FE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272FE#FFFFFF#000000##000000
##C272FE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#6097FB
Tritanopia (blue-blind)
#B98CAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c272fe;
/* rgb */ color: rgb(194, 114, 254);
/* oklch */ color: oklch(69.8% 0.207 308.3);
Tailwind
colors: {
  custom: {
    50: '#d89dff',
    500: '#c272fe',
    950: '#000000',
  },
}
SCSS
$custom: #c272fe;
$custom-light: #d89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c272fe",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 274.286,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.20693,
    "h": 308.3
  },
  "luminance": 0.3066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C272FE

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

Preview Lab → · Contrast checker → · Palette generator →

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