#C28DFD#C28DFD

#C28DFD is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.9% C 0.164 H 304.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#C28DFD
RGBrgb(194, 141, 253)
HSLhsl(268, 97%, 77%)
HSVhsv(268, 44%, 99%)
CMYKcmyk(23.3%, 44.3%, 0%, 0.8%)
CIE-LABlab(67.73, 41.36, -48.45)
CIE-LCHlch(67.73, 63.70, 310.49°)
OKLaboklab(73.87% 0.0931 -0.1353)
OKLCHoklch(73.87% 0.164 304.5)
XYZxyz(49.4989, 37.6111, 97.5614)
Luminance0.3761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28DFD #C8FD8D
analogous
#8D90FD #C28DFD #FA8DFD
triadic
#C28DFD #FDC28D #8DFDC2
tetradic
#C28DFD #FD8D90 #C8FD8D #8DFDFA
square
#C28DFD #FD8D90 #C8FD8D #8DFDFA
split-complementary
#C28DFD #FDFA8D #90FD8D
monochromatic
#8215FB #A251FC #C28DFD #E2C9FE #EFE1FE

Accessibility & contrast

On white

2.46
#C28DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#C28DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28DFD
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28DFD#FFFFFF#000000##000000
##C28DFD1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#B8A0B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c28dfd;
/* rgb */ color: rgb(194, 141, 253);
/* oklch */ color: oklch(73.9% 0.164 304.5);
Tailwind
colors: {
  custom: {
    50: '#d6affe',
    500: '#c28dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c28dfd;
$custom-light: #d6affe;
$custom-dark: #000000;
JSON
{
  "hex": "#c28dfd",
  "rgb": {
    "r": 194,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 268.393,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73868,
    "c": 0.16423,
    "h": 304.5
  },
  "luminance": 0.37611
}

Semantic roles & 50–950 ramp

primary
#C28DFD
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C28DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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