#C28DED#C28DED

#C28DED is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.1% C 0.145 H 308.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#C28DED
RGBrgb(194, 141, 237)
HSLhsl(273, 73%, 74%)
HSVhsv(273, 41%, 93%)
CMYKcmyk(18.1%, 40.5%, 0%, 7.1%)
CIE-LABlab(67.00, 37.78, -40.83)
CIE-LCHlch(67.00, 55.63, 312.78°)
OKLaboklab(73.08% 0.0904 -0.1133)
OKLCHoklch(73.08% 0.145 308.6)
XYZxyz(47.0562, 36.6341, 84.6965)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28DED #B8ED8D
analogous
#928DED #C28DED #ED8DE8
triadic
#C28DED #EDC28D #8DEDC2
tetradic
#C28DED #ED928D #B8ED8D #8DE8ED
square
#C28DED #ED928D #B8ED8D #8DE8ED
split-complementary
#C28DED #E8ED8D #8DED92
monochromatic
#8923DC #A658E5 #C28DED #DEC2F5 #F1E5FB

Accessibility & contrast

On white

2.52
#C28DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#C28DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28DED
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28DED#FFFFFF#000000##000000
##C28DED1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F1
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#BC9CB2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28ded;
/* rgb */ color: rgb(194, 141, 237);
/* oklch */ color: oklch(73.1% 0.145 308.6);
Tailwind
colors: {
  custom: {
    50: '#d6aff3',
    500: '#c28ded',
    950: '#000000',
  },
}
SCSS
$custom: #c28ded;
$custom-light: #d6aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ded",
  "rgb": {
    "r": 194,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 273.125,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73078,
    "c": 0.14493,
    "h": 308.6
  },
  "luminance": 0.36634
}

Semantic roles & 50–950 ramp

primary
#C28DED
secondary
#E4F2D9
accent
#D51169
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C28DED

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

Preview Lab → · Contrast checker → · Palette generator →

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