#C28CED#C28CED

#C28CED is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.9% C 0.147 H 308.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#C28CED
RGBrgb(194, 140, 237)
HSLhsl(273, 73%, 74%)
HSVhsv(273, 41%, 93%)
CMYKcmyk(18.1%, 40.9%, 0%, 7.1%)
CIE-LABlab(66.78, 38.33, -41.18)
CIE-LCHlch(66.78, 56.25, 312.95°)
OKLaboklab(72.91% 0.0918 -0.1143)
OKLCHoklch(72.91% 0.147 308.8)
XYZxyz(46.9094, 36.3405, 84.6476)
Luminance0.3634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28CED #B7ED8C
analogous
#928CED #C28CED #ED8CE8
triadic
#C28CED #EDC28C #8CEDC2
tetradic
#C28CED #ED928C #B7ED8C #8CE8ED
square
#C28CED #ED928C #B7ED8C #8CE8ED
split-complementary
#C28CED #E8ED8C #8CED92
monochromatic
#8A22DC #A657E5 #C28CED #DEC1F5 #F1E5FB

Accessibility & contrast

On white

2.54
#C28CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#C28CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28CED
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28CED#FFFFFF#000000##000000
##C28CED1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#84A3EA
Tritanopia (blue-blind)
#BC9BB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c28ced;
/* rgb */ color: rgb(194, 140, 237);
/* oklch */ color: oklch(72.9% 0.147 308.8);
Tailwind
colors: {
  custom: {
    50: '#d6aef3',
    500: '#c28ced',
    950: '#000000',
  },
}
SCSS
$custom: #c28ced;
$custom-light: #d6aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ced",
  "rgb": {
    "r": 194,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 273.402,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72911,
    "c": 0.14659,
    "h": 308.8
  },
  "luminance": 0.3634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28CED

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

Preview Lab → · Contrast checker → · Palette generator →

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