#C28BF8#C28BF8

#C28BF8 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.3% C 0.161 H 306.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#C28BF8
RGBrgb(194, 139, 248)
HSLhsl(270, 89%, 76%)
HSVhsv(270, 44%, 97%)
CMYKcmyk(21.8%, 44%, 0%, 2.7%)
CIE-LABlab(67.06, 41.31, -46.77)
CIE-LCHlch(67.06, 62.40, 311.45°)
OKLaboklab(73.29% 0.095 -0.1304)
OKLCHoklch(73.29% 0.161 306.1)
XYZxyz(48.4206, 36.7122, 93.3240)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BF8 #C1F88B
analogous
#8B8BF8 #C28BF8 #F88BF8
triadic
#C28BF8 #F8C28B #8BF8C2
tetradic
#C28BF8 #F88B8B #C1F88B #8BF8F8
square
#C28BF8 #F88B8B #C1F88B #8BF8F8
split-complementary
#C28BF8 #F8F88B #8BF88B
monochromatic
#8518F1 #A451F5 #C28BF8 #E0C5FB #F0E2FD

Accessibility & contrast

On white

2.52
#C28BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#C28BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BF8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BF8#FFFFFF#000000##000000
##C28BF81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#7DA4F5
Tritanopia (blue-blind)
#BA9DB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28bf8;
/* rgb */ color: rgb(194, 139, 248);
/* oklch */ color: oklch(73.3% 0.161 306.1);
Tailwind
colors: {
  custom: {
    50: '#d6aefb',
    500: '#c28bf8',
    950: '#000000',
  },
}
SCSS
$custom: #c28bf8;
$custom-light: #d6aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bf8",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 270.275,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73286,
    "c": 0.1614,
    "h": 306.1
  },
  "luminance": 0.36712
}

Semantic roles & 50–950 ramp

primary
#C28BF8
secondary
#E5F5D6
accent
#E50072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C28BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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