#C28FF6#C28FF6

#C28FF6 is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.8% C 0.153 H 305.8°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C28FF6
RGBrgb(194, 143, 246)
HSLhsl(270, 85%, 76%)
HSVhsv(270, 42%, 96%)
CMYKcmyk(21.1%, 41.9%, 0%, 3.5%)
CIE-LABlab(67.85, 38.68, -44.44)
CIE-LCHlch(67.85, 58.92, 311.04°)
OKLaboklab(73.85% 0.0893 -0.1237)
OKLCHoklch(73.85% 0.153 305.8)
XYZxyz(48.7018, 37.7684, 91.8953)
Luminance0.3777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FF6 #C3F68F
analogous
#8F90F6 #C28FF6 #F68FF6
triadic
#C28FF6 #F6C28F #8FF6C2
tetradic
#C28FF6 #F68F90 #C3F68F #8FF6F6
square
#C28FF6 #F68F90 #C3F68F #8FF6F6
split-complementary
#C28FF6 #F6F68F #90F68F
monochromatic
#841EED #A356F1 #C28FF6 #E1C8FB #F0E3FD

Accessibility & contrast

On white

2.46
#C28FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C28FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FF6
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FF6#FFFFFF#000000##000000
##C28FF61.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FA
Deuteranopia (green-blind)
#82A6F3
Tritanopia (blue-blind)
#BAA0B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c28ff6;
/* rgb */ color: rgb(194, 143, 246);
/* oklch */ color: oklch(73.8% 0.153 305.8);
Tailwind
colors: {
  custom: {
    50: '#d6b0f9',
    500: '#c28ff6',
    950: '#000000',
  },
}
SCSS
$custom: #c28ff6;
$custom-light: #d6b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ff6",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 269.709,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.15254,
    "h": 305.8
  },
  "luminance": 0.37768
}

Semantic roles & 50–950 ramp

primary
#C28FF6
secondary
#E6F5D6
accent
#E20474
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #C28FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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