#C28AFF#C28AFF

#C28AFF is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.5% C 0.171 H 304.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C28AFF
RGBrgb(194, 138, 255)
HSLhsl(269, 100%, 77%)
HSVhsv(269, 46%, 100%)
CMYKcmyk(23.9%, 45.9%, 0%, 0%)
CIE-LABlab(67.18, 43.44, -50.41)
CIE-LCHlch(67.18, 66.55, 310.75°)
OKLaboklab(73.48% 0.0974 -0.141)
OKLCHoklch(73.48% 0.171 304.6)
XYZxyz(49.3828, 36.8665, 99.1027)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28AFF #C7FF8A
analogous
#8A8DFF #C28AFF #FD8AFF
triadic
#C28AFF #FFC28A #8AFFC2
tetradic
#C28AFF #FF8A8D #C7FF8A #8AFFFD
square
#C28AFF #FF8A8D #C7FF8A #8AFFFD
split-complementary
#C28AFF #FFFD8A #8DFF8A
monochromatic
#8210FF #A24DFF #C28AFF #E2C7FF #EFE0FF

Accessibility & contrast

On white

2.51
#C28AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#C28AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28AFF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28AFF#FFFFFF#000000##000000
##C28AFF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#78A4FC
Tritanopia (blue-blind)
#B89EB8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28aff;
/* rgb */ color: rgb(194, 138, 255);
/* oklch */ color: oklch(73.5% 0.171 304.6);
Tailwind
colors: {
  custom: {
    50: '#d7adff',
    500: '#c28aff',
    950: '#000000',
  },
}
SCSS
$custom: #c28aff;
$custom-light: #d7adff;
$custom-dark: #000000;
JSON
{
  "hex": "#c28aff",
  "rgb": {
    "r": 194,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 268.718,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73482,
    "c": 0.17138,
    "h": 304.6
  },
  "luminance": 0.36866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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