#C28DF9#C28DF9

#C28DF9 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.7% C 0.159 H 305.5°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#C28DF9
RGBrgb(194, 141, 249)
HSLhsl(269, 90%, 76%)
HSVhsv(269, 43%, 98%)
CMYKcmyk(22.1%, 43.4%, 0%, 2.4%)
CIE-LABlab(67.55, 40.45, -46.56)
CIE-LCHlch(67.55, 61.67, 310.99°)
OKLaboklab(73.67% 0.0925 -0.1298)
OKLCHoklch(73.67% 0.159 305.5)
XYZxyz(48.8684, 37.3589, 94.2407)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28DF9 #C4F98D
analogous
#8D8EF9 #C28DF9 #F88DF9
triadic
#C28DF9 #F9C28D #8DF9C2
tetradic
#C28DF9 #F98D8E #C4F98D #8DF9F8
square
#C28DF9 #F98D8E #C4F98D #8DF9F8
split-complementary
#C28DF9 #F9F88D #8EF98D
monochromatic
#8419F3 #A353F6 #C28DF9 #E1C7FC #EFE2FD

Accessibility & contrast

On white

2.48
#C28DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#C28DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28DF9
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28DF9#FFFFFF#000000##000000
##C28DF91.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#B99FB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28df9;
/* rgb */ color: rgb(194, 141, 249);
/* oklch */ color: oklch(73.7% 0.159 305.5);
Tailwind
colors: {
  custom: {
    50: '#d6affb',
    500: '#c28df9',
    950: '#000000',
  },
}
SCSS
$custom: #c28df9;
$custom-light: #d6affb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28df9",
  "rgb": {
    "r": 194,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 269.444,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73666,
    "c": 0.1594,
    "h": 305.5
  },
  "luminance": 0.37359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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