#C28CF9#C28CF9

#C28CF9 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.5% C 0.161 H 305.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#C28CF9
RGBrgb(194, 140, 249)
HSLhsl(270, 90%, 76%)
HSVhsv(270, 44%, 98%)
CMYKcmyk(22.1%, 43.8%, 0%, 2.4%)
CIE-LABlab(67.33, 40.99, -46.90)
CIE-LCHlch(67.33, 62.29, 311.15°)
OKLaboklab(73.5% 0.0938 -0.1308)
OKLCHoklch(73.5% 0.161 305.7)
XYZxyz(48.7216, 37.0654, 94.1918)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28CF9 #C3F98C
analogous
#8C8DF9 #C28CF9 #F98CF9
triadic
#C28CF9 #F9C28C #8CF9C2
tetradic
#C28CF9 #F98C8D #C3F98C #8CF9F9
square
#C28CF9 #F98C8D #C3F98C #8CF9F9
split-complementary
#C28CF9 #F9F98C #8DF98C
monochromatic
#8418F3 #A352F6 #C28CF9 #E1C6FC #F0E2FD

Accessibility & contrast

On white

2.50
#C28CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#C28CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28CF9
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28CF9#FFFFFF#000000##000000
##C28CF91.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#7EA4F6
Tritanopia (blue-blind)
#B99EB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28cf9;
/* rgb */ color: rgb(194, 140, 249);
/* oklch */ color: oklch(73.5% 0.161 305.7);
Tailwind
colors: {
  custom: {
    50: '#d6aefb',
    500: '#c28cf9',
    950: '#000000',
  },
}
SCSS
$custom: #c28cf9;
$custom-light: #d6aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28cf9",
  "rgb": {
    "r": 194,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 269.725,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73501,
    "c": 0.161,
    "h": 305.7
  },
  "luminance": 0.37065
}

Semantic roles & 50–950 ramp

primary
#C28CF9
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C28CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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