#C28CDC#C28CDC

#C28CDC is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.1% C 0.127 H 314.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#C28CDC
RGBrgb(194, 140, 220)
HSLhsl(281, 53%, 71%)
HSVhsv(281, 36%, 86%)
CMYKcmyk(11.8%, 36.4%, 0%, 13.7%)
CIE-LABlab(66.05, 34.69, -32.92)
CIE-LCHlch(66.05, 47.82, 316.50°)
OKLaboklab(72.13% 0.0883 -0.0905)
OKLCHoklch(72.13% 0.127 314.3)
XYZxyz(44.5424, 35.3937, 72.1815)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28CDC #A6DC8C
analogous
#9A8CDC #C28CDC #DC8CCE
triadic
#C28CDC #DCC28C #8CDCC2
tetradic
#C28CDC #DC9A8C #A6DC8C #8CCEDC
square
#C28CDC #DC9A8C #A6DC8C #8CCEDC
split-complementary
#C28CDC #CEDC8C #8CDC9A
monochromatic
#8D37B6 #A95DCE #C28CDC #DBBBEA #F3E8F8

Accessibility & contrast

On white

2.60
#C28CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#C28CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28CDC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28CDC#FFFFFF#000000##000000
##C28CDC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDF
Deuteranopia (green-blind)
#8CA2DA
Tritanopia (blue-blind)
#C097AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c28cdc;
/* rgb */ color: rgb(194, 140, 220);
/* oklch */ color: oklch(72.1% 0.127 314.3);
Tailwind
colors: {
  custom: {
    50: '#d5aee7',
    500: '#c28cdc',
    950: '#000000',
  },
}
SCSS
$custom: #c28cdc;
$custom-light: #d5aee7;
$custom-dark: #000000;
JSON
{
  "hex": "#c28cdc",
  "rgb": {
    "r": 194,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 280.5,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72125,
    "c": 0.1265,
    "h": 314.3
  },
  "luminance": 0.35393
}

Semantic roles & 50–950 ramp

primary
#C28CDC
secondary
#DEEDD7
accent
#C12557
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C28CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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