#C28AF9#C28AF9

#C28AF9 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.2% C 0.164 H 306.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#C28AF9
RGBrgb(194, 138, 249)
HSLhsl(270, 90%, 76%)
HSVhsv(270, 45%, 98%)
CMYKcmyk(22.1%, 44.6%, 0%, 2.4%)
CIE-LABlab(66.89, 42.08, -47.59)
CIE-LCHlch(66.89, 63.52, 311.48°)
OKLaboklab(73.17% 0.0966 -0.1328)
OKLCHoklch(73.17% 0.164 306)
XYZxyz(48.4320, 36.4862, 94.0952)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28AF9 #C1F98A
analogous
#8A8AF9 #C28AF9 #F98AF9
triadic
#C28AF9 #F9C28A #8AF9C2
tetradic
#C28AF9 #F98A8A #C1F98A #8AF9F9
square
#C28AF9 #F98A8A #C1F98A #8AF9F9
split-complementary
#C28AF9 #F9F98A #8AF98A
monochromatic
#8516F3 #A450F6 #C28AF9 #E0C4FC #F0E2FE

Accessibility & contrast

On white

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

On black

8.30
#C28AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28AF9
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28AF9#FFFFFF#000000##000000
##C28AF91.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FD
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#BA9CB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28af9;
/* rgb */ color: rgb(194, 138, 249);
/* oklch */ color: oklch(73.2% 0.164 306.0);
Tailwind
colors: {
  custom: {
    50: '#d6adfc',
    500: '#c28af9',
    950: '#000000',
  },
}
SCSS
$custom: #c28af9;
$custom-light: #d6adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c28af9",
  "rgb": {
    "r": 194,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 270.27,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73174,
    "c": 0.1642,
    "h": 306
  },
  "luminance": 0.36486
}

Semantic roles & 50–950 ramp

primary
#C28AF9
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C28AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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