#C28CD2#C28CD2

#C28CD2 is a light, moderate purple. Relative luminance 0.349; OKLCH L 71.7% C 0.115 H 318.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#C28CD2
RGBrgb(194, 140, 210)
HSLhsl(286, 44%, 69%)
HSVhsv(286, 33%, 82%)
CMYKcmyk(7.6%, 33.3%, 0%, 17.6%)
CIE-LABlab(65.65, 32.64, -27.97)
CIE-LCHlch(65.65, 42.99, 319.40°)
OKLaboklab(71.69% 0.0859 -0.0765)
OKLCHoklch(71.69% 0.115 318.3)
XYZxyz(43.2575, 34.8797, 65.4140)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28CD2 #9CD28C
analogous
#9F8CD2 #C28CD2 #D28CBF
triadic
#C28CD2 #D2C28C #8CD2C2
tetradic
#C28CD2 #D29F8C #9CD28C #8CBFD2
square
#C28CD2 #D29F8C #9CD28C #8CBFD2
split-complementary
#C28CD2 #BFD28C #8CD29F
monochromatic
#8D40A4 #AB60C1 #C28CD2 #D9B8E3 #F1E4F4

Accessibility & contrast

On white

2.63
#C28CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#C28CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28CD2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28CD2#FFFFFF#000000##000000
##C28CD21.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#839CD5
Deuteranopia (green-blind)
#90A1D0
Tritanopia (blue-blind)
#C294A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c28cd2;
/* rgb */ color: rgb(194, 140, 210);
/* oklch */ color: oklch(71.7% 0.115 318.3);
Tailwind
colors: {
  custom: {
    50: '#d5aee0',
    500: '#c28cd2',
    950: '#000000',
  },
}
SCSS
$custom: #c28cd2;
$custom-light: #d5aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#c28cd2",
  "rgb": {
    "r": 194,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 286.286,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71691,
    "c": 0.11504,
    "h": 318.3
  },
  "luminance": 0.34879
}

Semantic roles & 50–950 ramp

primary
#C28CD2
secondary
#D7E7D2
accent
#B72F4E
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C28CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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