#C28FEE#C28FEE

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

Color values

HEX#C28FEE
RGBrgb(194, 143, 238)
HSLhsl(272, 74%, 75%)
HSVhsv(272, 40%, 93%)
CMYKcmyk(18.5%, 39.9%, 0%, 6.7%)
CIE-LABlab(67.49, 36.90, -40.61)
CIE-LCHlch(67.49, 54.87, 312.26°)
OKLaboklab(73.46% 0.0878 -0.1126)
OKLCHoklch(73.46% 0.143 307.9)
XYZxyz(47.5003, 37.2878, 85.5673)
Luminance0.3729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FEE #BBEE8F
analogous
#938FEE #C28FEE #EE8FEA
triadic
#C28FEE #EEC28F #8FEEC2
tetradic
#C28FEE #EE938F #BBEE8F #8FEAEE
square
#C28FEE #EE938F #BBEE8F #8FEAEE
split-complementary
#C28FEE #EAEE8F #8FEE93
monochromatic
#8825DE #A55AE6 #C28FEE #DFC4F6 #F1E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C28FEE#FFFFFF#000000##000000
##C28FEE1.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)
#7AA2F2
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#BC9EB3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28fee;
/* rgb */ color: rgb(194, 143, 238);
/* oklch */ color: oklch(73.5% 0.143 307.9);
Tailwind
colors: {
  custom: {
    50: '#d6b0f4',
    500: '#c28fee',
    950: '#000000',
  },
}
SCSS
$custom: #c28fee;
$custom-light: #d6b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c28fee",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 272.211,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.14282,
    "h": 307.9
  },
  "luminance": 0.37287
}

Semantic roles & 50–950 ramp

primary
#C28FEE
secondary
#E5F3D8
accent
#D6106B
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #C28FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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