#C272F4#C272F4

#C272F4 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.2% C 0.196 H 310.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#C272F4
RGBrgb(194, 114, 244)
HSLhsl(277, 86%, 70%)
HSVhsv(277, 53%, 96%)
CMYKcmyk(20.5%, 53.3%, 0%, 4.3%)
CIE-LABlab(61.69, 53.66, -53.07)
CIE-LCHlch(61.69, 75.47, 315.32°)
OKLaboklab(69.23% 0.1278 -0.1487)
OKLCHoklch(69.23% 0.196 310.7)
XYZxyz(44.5916, 30.0365, 89.0190)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272F4 #A4F472
analogous
#8172F4 #C272F4 #F472E5
triadic
#C272F4 #F4C272 #72F4C2
tetradic
#C272F4 #F48172 #A4F472 #72E5F4
square
#C272F4 #F48172 #A4F472 #72E5F4
split-complementary
#C272F4 #E5F472 #72F481
monochromatic
#8D11DB #A939F0 #C272F4 #DBABF8 #F3E3FD

Accessibility & contrast

On white

3.00
#C272F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#C272F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C272F4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272F4#FFFFFF#000000##000000
##C272F41.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D91F8
Deuteranopia (green-blind)
#6796F1
Tritanopia (blue-blind)
#BC88A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c272f4;
/* rgb */ color: rgb(194, 114, 244);
/* oklch */ color: oklch(69.2% 0.196 310.7);
Tailwind
colors: {
  custom: {
    50: '#d79df8',
    500: '#c272f4',
    950: '#000000',
  },
}
SCSS
$custom: #c272f4;
$custom-light: #d79df8;
$custom-dark: #000000;
JSON
{
  "hex": "#c272f4",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 276.923,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69225,
    "c": 0.19608,
    "h": 310.7
  },
  "luminance": 0.30036
}

Semantic roles & 50–950 ramp

primary
#C272F4
secondary
#DDF3CF
accent
#E20359
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272F4

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

Preview Lab → · Contrast checker → · Palette generator →

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