#C28FEB#C28FEB

#C28FEB is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.3% C 0.139 H 308.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#C28FEB
RGBrgb(194, 143, 235)
HSLhsl(273, 70%, 74%)
HSVhsv(273, 39%, 92%)
CMYKcmyk(17.4%, 39.1%, 0%, 7.8%)
CIE-LABlab(67.36, 36.25, -39.17)
CIE-LCHlch(67.36, 53.37, 312.78°)
OKLaboklab(73.32% 0.0872 -0.1085)
OKLCHoklch(73.32% 0.139 308.8)
XYZxyz(47.0632, 37.1130, 83.2654)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FEB #B8EB8F
analogous
#948FEB #C28FEB #EB8FE6
triadic
#C28FEB #EBC28F #8FEBC2
tetradic
#C28FEB #EB948F #B8EB8F #8FE6EB
square
#C28FEB #EB948F #B8EB8F #8FE6EB
split-complementary
#C28FEB #E6EB8F #8FEB94
monochromatic
#8927D8 #A65BE2 #C28FEB #DEC3F4 #F1E5FA

Accessibility & contrast

On white

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

On black

8.42
#C28FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FEB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FEB#FFFFFF#000000##000000
##C28FEB1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#BD9DB2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28feb;
/* rgb */ color: rgb(194, 143, 235);
/* oklch */ color: oklch(73.3% 0.139 308.8);
Tailwind
colors: {
  custom: {
    50: '#d6b0f1',
    500: '#c28feb',
    950: '#000000',
  },
}
SCSS
$custom: #c28feb;
$custom-light: #d6b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c28feb",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 273.261,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73321,
    "c": 0.1392,
    "h": 308.8
  },
  "luminance": 0.37112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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