#C28FED#C28FED

#C28FED is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.4% C 0.142 H 308.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#C28FED
RGBrgb(194, 143, 237)
HSLhsl(273, 72%, 75%)
HSVhsv(273, 40%, 93%)
CMYKcmyk(18.1%, 39.7%, 0%, 7.1%)
CIE-LABlab(67.45, 36.68, -40.13)
CIE-LCHlch(67.45, 54.37, 312.43°)
OKLaboklab(73.42% 0.0876 -0.1113)
OKLCHoklch(73.42% 0.142 308.2)
XYZxyz(47.3537, 37.2292, 84.7957)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FED #BAED8F
analogous
#938FED #C28FED #ED8FE9
triadic
#C28FED #EDC28F #8FEDC2
tetradic
#C28FED #ED938F #BAED8F #8FE9ED
square
#C28FED #ED938F #BAED8F #8FE9ED
split-complementary
#C28FED #E9ED8F #8FED93
monochromatic
#8926DC #A55AE5 #C28FED #DFC4F5 #F1E5FB

Accessibility & contrast

On white

2.49
#C28FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#C28FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FED
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FED#FFFFFF#000000##000000
##C28FED1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F1
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#BC9DB3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28fed;
/* rgb */ color: rgb(194, 143, 237);
/* oklch */ color: oklch(73.4% 0.142 308.2);
Tailwind
colors: {
  custom: {
    50: '#d6b0f3',
    500: '#c28fed',
    950: '#000000',
  },
}
SCSS
$custom: #c28fed;
$custom-light: #d6b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c28fed",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 272.553,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73416,
    "c": 0.14161,
    "h": 308.2
  },
  "luminance": 0.37229
}

Semantic roles & 50–950 ramp

primary
#C28FED
secondary
#E4F2D9
accent
#D4116A
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #C28FED

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

Preview Lab → · Contrast checker → · Palette generator →

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