#C272DF#C272DF

#C272DF is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.1% C 0.174 H 316.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#C272DF
RGBrgb(194, 114, 223)
HSLhsl(284, 63%, 66%)
HSVhsv(284, 49%, 87%)
CMYKcmyk(13%, 48.9%, 0%, 12.5%)
CIE-LABlab(60.63, 49.25, -43.06)
CIE-LCHlch(60.63, 65.42, 318.84°)
OKLaboklab(68.11% 0.1258 -0.1196)
OKLCHoklch(68.11% 0.174 316.5)
XYZxyz(41.5828, 28.8330, 73.1726)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272DF #8FDF72
analogous
#8B72DF #C272DF #DF72C5
triadic
#C272DF #DFC272 #72DFC2
tetradic
#C272DF #DF8B72 #8FDF72 #72C5DF
square
#C272DF #DF8B72 #8FDF72 #72C5DF
split-complementary
#C272DF #C5DF72 #72DF8B
monochromatic
#8B28AF #AC40D4 #C272DF #D8A4EA #EDD6F6

Accessibility & contrast

On white

3.10
#C272DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#C272DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272DF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272DF#FFFFFF#000000##000000
##C272DF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#7495DC
Tritanopia (blue-blind)
#C1829E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c272df;
/* rgb */ color: rgb(194, 114, 223);
/* oklch */ color: oklch(68.1% 0.174 316.5);
Tailwind
colors: {
  custom: {
    50: '#d69de9',
    500: '#c272df',
    950: '#000000',
  },
}
SCSS
$custom: #c272df;
$custom-light: #d69de9;
$custom-dark: #000000;
JSON
{
  "hex": "#c272df",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 284.037,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68106,
    "c": 0.17357,
    "h": 316.5
  },
  "luminance": 0.28832
}

Semantic roles & 50–950 ramp

primary
#C272DF
secondary
#CEE8C4
accent
#CB1B4A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C272DF

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

Preview Lab → · Contrast checker → · Palette generator →

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