#C272F6#C272F6

#C272F6 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.3% C 0.198 H 310.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C272F6
RGBrgb(194, 114, 246)
HSLhsl(276, 88%, 71%)
HSVhsv(276, 54%, 96%)
CMYKcmyk(21.1%, 53.7%, 0%, 3.5%)
CIE-LABlab(61.79, 54.09, -54.01)
CIE-LCHlch(61.79, 76.44, 315.05°)
OKLaboklab(69.34% 0.128 -0.1514)
OKLCHoklch(69.34% 0.198 310.2)
XYZxyz(44.8969, 30.1586, 90.6270)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272F6 #A6F672
analogous
#8072F6 #C272F6 #F672E8
triadic
#C272F6 #F6C272 #72F6C2
tetradic
#C272F6 #F68072 #A6F672 #72E8F6
square
#C272F6 #F68072 #A6F672 #72E8F6
split-complementary
#C272F6 #E8F672 #72F680
monochromatic
#8D0EDF #A938F2 #C272F6 #DBACFA #F3E2FD

Accessibility & contrast

On white

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

On black

7.03
#C272F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C272F6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272F6#FFFFFF#000000##000000
##C272F61.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FA
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#BB89A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c272f6;
/* rgb */ color: rgb(194, 114, 246);
/* oklch */ color: oklch(69.3% 0.198 310.2);
Tailwind
colors: {
  custom: {
    50: '#d79dfa',
    500: '#c272f6',
    950: '#000000',
  },
}
SCSS
$custom: #c272f6;
$custom-light: #d79dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c272f6",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 276.364,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69337,
    "c": 0.19825,
    "h": 310.2
  },
  "luminance": 0.30158
}

Semantic roles & 50–950 ramp

primary
#C272F6
secondary
#DEF4D0
accent
#E5015B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272F6

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

Preview Lab → · Contrast checker → · Palette generator →

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