#C28ECA#C28ECA

#C28ECA is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.7% C 0.103 H 322.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#C28ECA
RGBrgb(194, 142, 202)
HSLhsl(292, 36%, 67%)
HSVhsv(292, 30%, 79%)
CMYKcmyk(4%, 29.7%, 0%, 20.8%)
CIE-LABlab(65.81, 29.95, -23.27)
CIE-LCHlch(65.81, 37.93, 322.15°)
OKLaboklab(71.71% 0.0808 -0.0632)
OKLCHoklch(71.71% 0.103 322)
XYZxyz(42.5805, 35.0808, 60.3939)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28ECA #96CA8E
analogous
#A48ECA #C28ECA #CA8EB4
triadic
#C28ECA #CAC28E #8ECAC2
tetradic
#C28ECA #CAA48E #96CA8E #8EB4CA
square
#C28ECA #CAA48E #96CA8E #8EB4CA
split-complementary
#C28ECA #B4CA8E #8ECAA4
monochromatic
#8C4797 #AC64B6 #C28ECA #D8B8DE #EFE1F1

Accessibility & contrast

On white

2.62
#C28ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#C28ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28ECA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28ECA#FFFFFF#000000##000000
##C28ECA1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#889CCC
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#C494A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c28eca;
/* rgb */ color: rgb(194, 142, 202);
/* oklch */ color: oklch(71.7% 0.103 322.0);
Tailwind
colors: {
  custom: {
    50: '#d5afda',
    500: '#c28eca',
    950: '#000000',
  },
}
SCSS
$custom: #c28eca;
$custom-light: #d5afda;
$custom-dark: #000000;
JSON
{
  "hex": "#c28eca",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 292,
    "s": 36.145,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7171,
    "c": 0.1026,
    "h": 322
  },
  "luminance": 0.3508
}

Semantic roles & 50–950 ramp

primary
#C28ECA
secondary
#D3E3D1
accent
#AF3647
background
#FDFAFD
surface
#FAF4FA
border
#D3CED3
text
#141014
muted
#837F83

Preview Lab

Preview with #C28ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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