#C28AFD#C28AFD

#C28AFD is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.4% C 0.169 H 305.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#C28AFD
RGBrgb(194, 138, 253)
HSLhsl(269, 97%, 77%)
HSVhsv(269, 45%, 99%)
CMYKcmyk(23.3%, 45.5%, 0%, 0.8%)
CIE-LABlab(67.08, 42.98, -49.48)
CIE-LCHlch(67.08, 65.54, 310.98°)
OKLaboklab(73.38% 0.0971 -0.1383)
OKLCHoklch(73.38% 0.169 305.1)
XYZxyz(49.0625, 36.7384, 97.4160)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28AFD #C5FD8A
analogous
#8A8CFD #C28AFD #FB8AFD
triadic
#C28AFD #FDC28A #8AFDC2
tetradic
#C28AFD #FD8A8C #C5FD8A #8AFDFB
square
#C28AFD #FD8A8C #C5FD8A #8AFDFB
split-complementary
#C28AFD #FDFB8A #8CFD8A
monochromatic
#8312FB #A34EFC #C28AFD #E1C6FE #EFE1FE

Accessibility & contrast

On white

2.52
#C28AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#C28AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28AFD
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28AFD#FFFFFF#000000##000000
##C28AFD1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#7AA3FA
Tritanopia (blue-blind)
#B89DB8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28afd;
/* rgb */ color: rgb(194, 138, 253);
/* oklch */ color: oklch(73.4% 0.169 305.1);
Tailwind
colors: {
  custom: {
    50: '#d7adfe',
    500: '#c28afd',
    950: '#000000',
  },
}
SCSS
$custom: #c28afd;
$custom-light: #d7adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c28afd",
  "rgb": {
    "r": 194,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 269.217,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73379,
    "c": 0.16899,
    "h": 305.1
  },
  "luminance": 0.36738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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