#C272F5#C272F5

#C272F5 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.3% C 0.197 H 310.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C272F5
RGBrgb(194, 114, 245)
HSLhsl(277, 87%, 70%)
HSVhsv(277, 53%, 96%)
CMYKcmyk(20.8%, 53.5%, 0%, 3.9%)
CIE-LABlab(61.74, 53.88, -53.54)
CIE-LCHlch(61.74, 75.96, 315.18°)
OKLaboklab(69.28% 0.1279 -0.15)
OKLCHoklch(69.28% 0.197 310.4)
XYZxyz(44.7438, 30.0974, 89.8208)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272F5 #A5F572
analogous
#8072F5 #C272F5 #F572E7
triadic
#C272F5 #F5C272 #72F5C2
tetradic
#C272F5 #F58072 #A5F572 #72E7F5
square
#C272F5 #F58072 #A5F572 #72E7F5
split-complementary
#C272F5 #E7F572 #72F580
monochromatic
#8D10DD #A939F1 #C272F5 #DBABF9 #F3E2FD

Accessibility & contrast

On white

2.99
#C272F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#C272F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C272F5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272F5#FFFFFF#000000##000000
##C272F51.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#BC89A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c272f5;
/* rgb */ color: rgb(194, 114, 245);
/* oklch */ color: oklch(69.3% 0.197 310.4);
Tailwind
colors: {
  custom: {
    50: '#d79df9',
    500: '#c272f5',
    950: '#000000',
  },
}
SCSS
$custom: #c272f5;
$custom-light: #d79df9;
$custom-dark: #000000;
JSON
{
  "hex": "#c272f5",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 276.641,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69281,
    "c": 0.19717,
    "h": 310.4
  },
  "luminance": 0.30097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C272F5

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

Preview Lab → · Contrast checker → · Palette generator →

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