#C272F2#C272F2

#C272F2 is a light, vivid violet. Relative luminance 0.299; OKLCH L 69.1% C 0.194 H 311.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C272F2
RGBrgb(194, 114, 242)
HSLhsl(278, 83%, 70%)
HSVhsv(278, 53%, 95%)
CMYKcmyk(19.8%, 52.9%, 0%, 5.1%)
CIE-LABlab(61.58, 53.23, -52.13)
CIE-LCHlch(61.58, 74.51, 315.60°)
OKLaboklab(69.12% 0.1277 -0.1459)
OKLCHoklch(69.12% 0.194 311.2)
XYZxyz(44.2896, 29.9157, 87.4284)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272F2 #A2F272
analogous
#8272F2 #C272F2 #F272E2
triadic
#C272F2 #F2C272 #72F2C2
tetradic
#C272F2 #F28272 #A2F272 #72E2F2
square
#C272F2 #F28272 #A2F272 #72E2F2
split-complementary
#C272F2 #E2F272 #72F282
monochromatic
#8D14D6 #AA3AED #C272F2 #DAAAF7 #F2E2FC

Accessibility & contrast

On white

3.01
#C272F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#C272F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272F2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272F2#FFFFFF#000000##000000
##C272F21.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#6996EF
Tritanopia (blue-blind)
#BC88A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c272f2;
/* rgb */ color: rgb(194, 114, 242);
/* oklch */ color: oklch(69.1% 0.194 311.2);
Tailwind
colors: {
  custom: {
    50: '#d79df7',
    500: '#c272f2',
    950: '#000000',
  },
}
SCSS
$custom: #c272f2;
$custom-light: #d79df7;
$custom-dark: #000000;
JSON
{
  "hex": "#c272f2",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 277.5,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69115,
    "c": 0.19393,
    "h": 311.2
  },
  "luminance": 0.29915
}

Semantic roles & 50–950 ramp

primary
#C272F2
secondary
#DBF2CE
accent
#E00658
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272F2

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

Preview Lab → · Contrast checker → · Palette generator →

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