#C28FF8#C28FF8

#C28FF8 is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.9% C 0.155 H 305.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#C28FF8
RGBrgb(194, 143, 248)
HSLhsl(269, 88%, 77%)
HSVhsv(269, 42%, 97%)
CMYKcmyk(21.8%, 42.3%, 0%, 2.7%)
CIE-LABlab(67.94, 39.13, -45.39)
CIE-LCHlch(67.94, 59.93, 310.77°)
OKLaboklab(73.95% 0.0896 -0.1264)
OKLCHoklch(73.95% 0.155 305.3)
XYZxyz(49.0104, 37.8918, 93.5206)
Luminance0.3789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FF8 #C5F88F
analogous
#8F91F8 #C28FF8 #F78FF8
triadic
#C28FF8 #F8C28F #8FF8C2
tetradic
#C28FF8 #F88F91 #C5F88F #8FF8F7
square
#C28FF8 #F88F91 #C5F88F #8FF8F7
split-complementary
#C28FF8 #F8F78F #91F88F
monochromatic
#831CF1 #A355F4 #C28FF8 #E1C9FC #EFE2FD

Accessibility & contrast

On white

2.45
#C28FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#C28FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FF8
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FF8#FFFFFF#000000##000000
##C28FF81.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#81A6F5
Tritanopia (blue-blind)
#BAA0B8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c28ff8;
/* rgb */ color: rgb(194, 143, 248);
/* oklch */ color: oklch(73.9% 0.155 305.3);
Tailwind
colors: {
  custom: {
    50: '#d6b0fb',
    500: '#c28ff8',
    950: '#000000',
  },
}
SCSS
$custom: #c28ff8;
$custom-light: #d6b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ff8",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 269.143,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73948,
    "c": 0.15497,
    "h": 305.3
  },
  "luminance": 0.37892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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