#C28AF8#C28AF8

#C28AF8 is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.1% C 0.163 H 306.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#C28AF8
RGBrgb(194, 138, 248)
HSLhsl(271, 89%, 76%)
HSVhsv(271, 44%, 97%)
CMYKcmyk(21.8%, 44.4%, 0%, 2.7%)
CIE-LABlab(66.84, 41.85, -47.12)
CIE-LCHlch(66.84, 63.02, 311.62°)
OKLaboklab(73.12% 0.0964 -0.1314)
OKLCHoklch(73.12% 0.163 306.3)
XYZxyz(48.2765, 36.4240, 93.2760)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28AF8 #C0F88A
analogous
#8B8AF8 #C28AF8 #F88AF7
triadic
#C28AF8 #F8C28A #8AF8C2
tetradic
#C28AF8 #F88B8A #C0F88A #8AF7F8
square
#C28AF8 #F88B8A #C0F88A #8AF7F8
split-complementary
#C28AF8 #F7F88A #8AF88B
monochromatic
#8617F1 #A450F5 #C28AF8 #E0C4FB #F0E2FD

Accessibility & contrast

On white

2.53
#C28AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#C28AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28AF8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28AF8#FFFFFF#000000##000000
##C28AF81.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#BA9CB5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28af8;
/* rgb */ color: rgb(194, 138, 248);
/* oklch */ color: oklch(73.1% 0.163 306.3);
Tailwind
colors: {
  custom: {
    50: '#d6adfb',
    500: '#c28af8',
    950: '#000000',
  },
}
SCSS
$custom: #c28af8;
$custom-light: #d6adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28af8",
  "rgb": {
    "r": 194,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 270.545,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73123,
    "c": 0.163,
    "h": 306.3
  },
  "luminance": 0.36424
}

Semantic roles & 50–950 ramp

primary
#C28AF8
secondary
#E5F5D6
accent
#E50071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C28AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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