#C28BD2#C28BD2

#C28BD2 is a light, moderate purple. Relative luminance 0.346; OKLCH L 71.5% C 0.117 H 318.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#C28BD2
RGBrgb(194, 139, 210)
HSLhsl(286, 44%, 68%)
HSVhsv(286, 34%, 82%)
CMYKcmyk(7.6%, 33.8%, 0%, 17.6%)
CIE-LABlab(65.43, 33.19, -28.33)
CIE-LCHlch(65.43, 43.63, 319.52°)
OKLaboklab(71.52% 0.0874 -0.0775)
OKLCHoklch(71.52% 0.117 318.4)
XYZxyz(43.1120, 34.5888, 65.3655)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BD2 #9BD28B
analogous
#9E8BD2 #C28BD2 #D28BBE
triadic
#C28BD2 #D2C28B #8BD2C2
tetradic
#C28BD2 #D29E8B #9BD28B #8BBED2
square
#C28BD2 #D29E8B #9BD28B #8BBED2
split-complementary
#C28BD2 #BED28B #8BD29E
monochromatic
#8D3FA3 #AB5FC1 #C28BD2 #D9B7E3 #F0E3F4

Accessibility & contrast

On white

2.65
#C28BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#C28BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BD2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BD2#FFFFFF#000000##000000
##C28BD21.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#829BD5
Deuteranopia (green-blind)
#8FA1D0
Tritanopia (blue-blind)
#C293A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c28bd2;
/* rgb */ color: rgb(194, 139, 210);
/* oklch */ color: oklch(71.5% 0.117 318.4);
Tailwind
colors: {
  custom: {
    50: '#d5ade0',
    500: '#c28bd2',
    950: '#000000',
  },
}
SCSS
$custom: #c28bd2;
$custom-light: #d5ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bd2",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 286.479,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71518,
    "c": 0.11681,
    "h": 318.4
  },
  "luminance": 0.34588
}

Semantic roles & 50–950 ramp

primary
#C28BD2
secondary
#D7E7D2
accent
#B72E4D
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C28BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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