#C28ECD#C28ECD

#C28ECD is a light, moderate purple. Relative luminance 0.352; OKLCH L 71.8% C 0.106 H 320.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#C28ECD
RGBrgb(194, 142, 205)
HSLhsl(290, 39%, 68%)
HSVhsv(290, 31%, 80%)
CMYKcmyk(5.4%, 30.7%, 0%, 19.6%)
CIE-LABlab(65.92, 30.54, -24.78)
CIE-LCHlch(65.92, 39.33, 320.95°)
OKLaboklab(71.83% 0.0816 -0.0675)
OKLCHoklch(71.83% 0.106 320.4)
XYZxyz(42.9392, 35.2242, 62.2828)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28ECD #99CD8E
analogous
#A28ECD #C28ECD #CD8EB8
triadic
#C28ECD #CDC28E #8ECDC2
tetradic
#C28ECD #CDA28E #99CD8E #8EB8CD
square
#C28ECD #CDA28E #99CD8E #8EB8CD
split-complementary
#C28ECD #B8CD8E #8ECDA2
monochromatic
#8D459C #AB64BA #C28ECD #D9B8E0 #F0E3F3

Accessibility & contrast

On white

2.61
#C28ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#C28ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28ECD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28ECD#FFFFFF#000000##000000
##C28ECD1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DCF
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#C395A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c28ecd;
/* rgb */ color: rgb(194, 142, 205);
/* oklch */ color: oklch(71.8% 0.106 320.4);
Tailwind
colors: {
  custom: {
    50: '#d5afdc',
    500: '#c28ecd',
    950: '#000000',
  },
}
SCSS
$custom: #c28ecd;
$custom-light: #d5afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ecd",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 289.524,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.10589,
    "h": 320.4
  },
  "luminance": 0.35223
}

Semantic roles & 50–950 ramp

primary
#C28ECD
secondary
#D5E5D2
accent
#B2344A
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C28ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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