#C272DB#C272DB

#C272DB is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.9% C 0.169 H 317.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#C272DB
RGBrgb(194, 114, 219)
HSLhsl(286, 59%, 65%)
HSVhsv(286, 48%, 86%)
CMYKcmyk(11.4%, 47.9%, 0%, 14.1%)
CIE-LABlab(60.44, 48.44, -41.11)
CIE-LCHlch(60.44, 63.54, 319.68°)
OKLaboklab(67.9% 0.1253 -0.1139)
OKLCHoklch(67.9% 0.169 317.7)
XYZxyz(41.0498, 28.6198, 70.3659)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272DB #8BDB72
analogous
#8D72DB #C272DB #DB72C0
triadic
#C272DB #DBC272 #72DBC2
tetradic
#C272DB #DB8D72 #8BDB72 #72C0DB
square
#C272DB #DB8D72 #8BDB72 #72C0DB
split-complementary
#C272DB #C0DB72 #72DB8D
monochromatic
#8A2BA8 #AD41CF #C272DB #D7A3E7 #ECD4F4

Accessibility & contrast

On white

3.12
#C272DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#C272DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272DB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272DB#FFFFFF#000000##000000
##C272DB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDF
Deuteranopia (green-blind)
#7694D8
Tritanopia (blue-blind)
#C2819C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c272db;
/* rgb */ color: rgb(194, 114, 219);
/* oklch */ color: oklch(67.9% 0.169 317.7);
Tailwind
colors: {
  custom: {
    50: '#d69de6',
    500: '#c272db',
    950: '#000000',
  },
}
SCSS
$custom: #c272db;
$custom-light: #d69de6;
$custom-dark: #000000;
JSON
{
  "hex": "#c272db",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 285.714,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67904,
    "c": 0.16936,
    "h": 317.7
  },
  "luminance": 0.28618
}

Semantic roles & 50–950 ramp

primary
#C272DB
secondary
#CBE6C3
accent
#C71F47
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C272DB

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

Preview Lab → · Contrast checker → · Palette generator →

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