#C28BF9#C28BF9

#C28BF9 is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.3% C 0.163 H 305.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#C28BF9
RGBrgb(194, 139, 249)
HSLhsl(270, 90%, 76%)
HSVhsv(270, 44%, 98%)
CMYKcmyk(22.1%, 44.2%, 0%, 2.4%)
CIE-LABlab(67.11, 41.54, -47.25)
CIE-LCHlch(67.11, 62.91, 311.32°)
OKLaboklab(73.34% 0.0952 -0.1318)
OKLCHoklch(73.34% 0.163 305.8)
XYZxyz(48.5761, 36.7745, 94.1433)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BF9 #C2F98B
analogous
#8B8BF9 #C28BF9 #F98BF9
triadic
#C28BF9 #F9C28B #8BF9C2
tetradic
#C28BF9 #F98B8B #C2F98B #8BF9F9
square
#C28BF9 #F98B8B #C2F98B #8BF9F9
split-complementary
#C28BF9 #F9F98B #8BF98B
monochromatic
#8517F3 #A351F6 #C28BF9 #E1C5FC #F0E2FD

Accessibility & contrast

On white

2.51
#C28BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C28BF9#FFFFFF#000000##000000
##C28BF91.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FD
Deuteranopia (green-blind)
#7DA4F6
Tritanopia (blue-blind)
#BA9DB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28bf9;
/* rgb */ color: rgb(194, 139, 249);
/* oklch */ color: oklch(73.3% 0.163 305.8);
Tailwind
colors: {
  custom: {
    50: '#d6aefb',
    500: '#c28bf9',
    950: '#000000',
  },
}
SCSS
$custom: #c28bf9;
$custom-light: #d6aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bf9",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 270,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73337,
    "c": 0.1626,
    "h": 305.8
  },
  "luminance": 0.36774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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