#C28DFF#C28DFF

#C28DFF is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.0% C 0.167 H 304.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C28DFF
RGBrgb(194, 141, 255)
HSLhsl(268, 100%, 78%)
HSVhsv(268, 45%, 100%)
CMYKcmyk(23.9%, 44.7%, 0%, 0%)
CIE-LABlab(67.83, 41.81, -49.39)
CIE-LCHlch(67.83, 64.71, 310.25°)
OKLaboklab(73.97% 0.0934 -0.138)
OKLCHoklch(73.97% 0.167 304.1)
XYZxyz(49.8192, 37.7392, 99.2482)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28DFF #CAFF8D
analogous
#8D91FF #C28DFF #FB8DFF
triadic
#C28DFF #FFC28D #8DFFC2
tetradic
#C28DFF #FF8D91 #CAFF8D #8DFFFB
square
#C28DFF #FF8D91 #CAFF8D #8DFFFB
split-complementary
#C28DFF #FFFB8D #91FF8D
monochromatic
#8113FF #A150FF #C28DFF #E3CAFF #EFE0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C28DFF#FFFFFF#000000##000000
##C28DFF1.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)
#6FA4FF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#B8A0BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c28dff;
/* rgb */ color: rgb(194, 141, 255);
/* oklch */ color: oklch(74.0% 0.167 304.1);
Tailwind
colors: {
  custom: {
    50: '#d6afff',
    500: '#c28dff',
    950: '#000000',
  },
}
SCSS
$custom: #c28dff;
$custom-light: #d6afff;
$custom-dark: #000000;
JSON
{
  "hex": "#c28dff",
  "rgb": {
    "r": 194,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 267.895,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7397,
    "c": 0.16666,
    "h": 304.1
  },
  "luminance": 0.37739
}

Semantic roles & 50–950 ramp

primary
#C28DFF
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C28DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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