#C28DEB#C28DEB

#C28DEB is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.0% C 0.143 H 309.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#C28DEB
RGBrgb(194, 141, 235)
HSLhsl(274, 70%, 74%)
HSVhsv(274, 40%, 92%)
CMYKcmyk(17.4%, 40%, 0%, 7.8%)
CIE-LABlab(66.91, 37.34, -39.87)
CIE-LCHlch(66.91, 54.62, 313.13°)
OKLaboklab(72.98% 0.09 -0.1105)
OKLCHoklch(72.98% 0.143 309.2)
XYZxyz(46.7656, 36.5178, 83.1662)
Luminance0.3652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28DEB #B6EB8D
analogous
#938DEB #C28DEB #EB8DE5
triadic
#C28DEB #EBC28D #8DEBC2
tetradic
#C28DEB #EB938D #B6EB8D #8DE5EB
square
#C28DEB #EB938D #B6EB8D #8DE5EB
split-complementary
#C28DEB #E5EB8D #8DEB93
monochromatic
#8A26D8 #A659E2 #C28DEB #DEC1F4 #F1E5FA

Accessibility & contrast

On white

2.53
#C28DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#C28DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28DEB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28DEB#FFFFFF#000000##000000
##C28DEB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#BD9BB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28deb;
/* rgb */ color: rgb(194, 141, 235);
/* oklch */ color: oklch(73.0% 0.143 309.2);
Tailwind
colors: {
  custom: {
    50: '#d6aff2',
    500: '#c28deb',
    950: '#000000',
  },
}
SCSS
$custom: #c28deb;
$custom-light: #d6aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c28deb",
  "rgb": {
    "r": 194,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 273.83,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72983,
    "c": 0.14253,
    "h": 309.2
  },
  "luminance": 0.36517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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