#C28EDA#C28EDA

#C28EDA is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.4% C 0.121 H 314.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C28EDA
RGBrgb(194, 142, 218)
HSLhsl(281, 51%, 71%)
HSVhsv(281, 35%, 85%)
CMYKcmyk(11%, 34.9%, 0%, 14.5%)
CIE-LABlab(66.43, 33.18, -31.23)
CIE-LCHlch(66.43, 45.56, 316.73°)
OKLaboklab(72.38% 0.0849 -0.0858)
OKLCHoklch(72.38% 0.121 314.7)
XYZxyz(44.5740, 35.8782, 70.8931)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EDA #A6DA8E
analogous
#9C8EDA #C28EDA #DA8ECC
triadic
#C28EDA #DAC28E #8EDAC2
tetradic
#C28EDA #DA9C8E #A6DA8E #8ECCDA
square
#C28EDA #DA9C8E #A6DA8E #8ECCDA
split-complementary
#C28EDA #CCDA8E #8EDA9C
monochromatic
#8D3BB3 #A960CB #C28EDA #DBBCE9 #F3E8F7

Accessibility & contrast

On white

2.57
#C28EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C28EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EDA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EDA#FFFFFF#000000##000000
##C28EDA1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#829EDD
Deuteranopia (green-blind)
#8EA3D8
Tritanopia (blue-blind)
#C198AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c28eda;
/* rgb */ color: rgb(194, 142, 218);
/* oklch */ color: oklch(72.4% 0.121 314.7);
Tailwind
colors: {
  custom: {
    50: '#d5afe5',
    500: '#c28eda',
    950: '#000000',
  },
}
SCSS
$custom: #c28eda;
$custom-light: #d5afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#c28eda",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 281.053,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72381,
    "c": 0.1207,
    "h": 314.7
  },
  "luminance": 0.35877
}

Semantic roles & 50–950 ramp

primary
#C28EDA
secondary
#DEECD8
accent
#BE2757
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C28EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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