#C28DCD#C28DCD

#C28DCD is a light, moderate purple. Relative luminance 0.349; OKLCH L 71.7% C 0.108 H 320.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#C28DCD
RGBrgb(194, 141, 205)
HSLhsl(290, 39%, 68%)
HSVhsv(290, 31%, 80%)
CMYKcmyk(5.4%, 31.2%, 0%, 19.6%)
CIE-LABlab(65.69, 31.09, -25.13)
CIE-LCHlch(65.69, 39.98, 321.05°)
OKLaboklab(71.66% 0.0831 -0.0684)
OKLCHoklch(71.66% 0.108 320.5)
XYZxyz(42.7910, 34.9280, 62.2334)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28DCD #98CD8D
analogous
#A28DCD #C28DCD #CD8DB8
triadic
#C28DCD #CDC28D #8DCDC2
tetradic
#C28DCD #CDA28D #98CD8D #8DB8CD
square
#C28DCD #CDA28D #98CD8D #8DB8CD
split-complementary
#C28DCD #B8CD8D #8DCDA2
monochromatic
#8C449B #AB62BA #C28DCD #D9B8E0 #F0E2F2

Accessibility & contrast

On white

2.63
#C28DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#C28DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28DCD
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28DCD#FFFFFF#000000##000000
##C28DCD1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#92A2CB
Tritanopia (blue-blind)
#C394A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c28dcd;
/* rgb */ color: rgb(194, 141, 205);
/* oklch */ color: oklch(71.7% 0.108 320.5);
Tailwind
colors: {
  custom: {
    50: '#d5afdc',
    500: '#c28dcd',
    950: '#000000',
  },
}
SCSS
$custom: #c28dcd;
$custom-light: #d5afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c28dcd",
  "rgb": {
    "r": 194,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 289.688,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71657,
    "c": 0.10768,
    "h": 320.5
  },
  "luminance": 0.34927
}

Semantic roles & 50–950 ramp

primary
#C28DCD
secondary
#D4E5D1
accent
#B23349
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C28DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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