#C28CFD#C28CFD

#C28CFD is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.7% C 0.166 H 304.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#C28CFD
RGBrgb(194, 140, 253)
HSLhsl(269, 97%, 77%)
HSVhsv(269, 45%, 99%)
CMYKcmyk(23.3%, 44.7%, 0%, 0.8%)
CIE-LABlab(67.51, 41.90, -48.79)
CIE-LCHlch(67.51, 64.31, 310.66°)
OKLaboklab(73.7% 0.0944 -0.1363)
OKLCHoklch(73.7% 0.166 304.7)
XYZxyz(49.3521, 37.3176, 97.5125)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28CFD #C7FD8C
analogous
#8C8FFD #C28CFD #FB8CFD
triadic
#C28CFD #FDC28C #8CFDC2
tetradic
#C28CFD #FD8C8F #C7FD8C #8CFDFB
square
#C28CFD #FD8C8F #C7FD8C #8CFDFB
split-complementary
#C28CFD #FDFB8C #8FFD8C
monochromatic
#8214FB #A250FC #C28CFD #E2C8FE #EFE1FE

Accessibility & contrast

On white

2.48
#C28CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#C28CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28CFD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28CFD#FFFFFF#000000##000000
##C28CFD1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#B89FB9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28cfd;
/* rgb */ color: rgb(194, 140, 253);
/* oklch */ color: oklch(73.7% 0.166 304.7);
Tailwind
colors: {
  custom: {
    50: '#d6aefe',
    500: '#c28cfd',
    950: '#000000',
  },
}
SCSS
$custom: #c28cfd;
$custom-light: #d6aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#c28cfd",
  "rgb": {
    "r": 194,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 268.673,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73704,
    "c": 0.16582,
    "h": 304.7
  },
  "luminance": 0.37317
}

Semantic roles & 50–950 ramp

primary
#C28CFD
secondary
#E6F7D4
accent
#E60078
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C28CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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