#C28AED#C28AED

#C28AED is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.6% C 0.150 H 309.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#C28AED
RGBrgb(194, 138, 237)
HSLhsl(274, 73%, 74%)
HSVhsv(274, 42%, 93%)
CMYKcmyk(18.1%, 41.8%, 0%, 7.1%)
CIE-LABlab(66.34, 39.42, -41.87)
CIE-LCHlch(66.34, 57.50, 313.27°)
OKLaboklab(72.58% 0.0946 -0.1163)
OKLCHoklch(72.58% 0.15 309.1)
XYZxyz(46.6198, 35.7613, 84.5510)
Luminance0.3576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28AED #B5ED8A
analogous
#908AED #C28AED #ED8AE7
triadic
#C28AED #EDC28A #8AEDC2
tetradic
#C28AED #ED908A #B5ED8A #8AE7ED
square
#C28AED #ED908A #B5ED8A #8AE7ED
split-complementary
#C28AED #E7ED8A #8AED90
monochromatic
#8A22DB #A655E5 #C28AED #DEBFF5 #F1E4FB

Accessibility & contrast

On white

2.58
#C28AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#C28AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28AED
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28AED#FFFFFF#000000##000000
##C28AED1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF1
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#BD99B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c28aed;
/* rgb */ color: rgb(194, 138, 237);
/* oklch */ color: oklch(72.6% 0.150 309.1);
Tailwind
colors: {
  custom: {
    50: '#d6adf3',
    500: '#c28aed',
    950: '#000000',
  },
}
SCSS
$custom: #c28aed;
$custom-light: #d6adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c28aed",
  "rgb": {
    "r": 194,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 273.939,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72578,
    "c": 0.1499,
    "h": 309.1
  },
  "luminance": 0.35761
}

Semantic roles & 50–950 ramp

primary
#C28AED
secondary
#E4F3D8
accent
#D51066
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C28AED

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

Preview Lab → · Contrast checker → · Palette generator →

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