#C28BEE#C28BEE

#C28BEE is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.8% C 0.149 H 308.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#C28BEE
RGBrgb(194, 139, 238)
HSLhsl(273, 74%, 74%)
HSVhsv(273, 42%, 93%)
CMYKcmyk(18.5%, 41.6%, 0%, 6.7%)
CIE-LABlab(66.60, 39.09, -42.00)
CIE-LCHlch(66.60, 57.38, 312.94°)
OKLaboklab(72.79% 0.0934 -0.1166)
OKLCHoklch(72.79% 0.149 308.7)
XYZxyz(46.9105, 36.1082, 85.3707)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BEE #B7EE8B
analogous
#918BEE #C28BEE #EE8BE9
triadic
#C28BEE #EEC28B #8BEEC2
tetradic
#C28BEE #EE918B #B7EE8B #8BE9EE
square
#C28BEE #EE918B #B7EE8B #8BE9EE
split-complementary
#C28BEE #E9EE8B #8BEE91
monochromatic
#8A21DE #A656E6 #C28BEE #DEC0F6 #F1E4FB

Accessibility & contrast

On white

2.55
#C28BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#C28BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BEE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BEE#FFFFFF#000000##000000
##C28BEE1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F2
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#BC9AB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c28bee;
/* rgb */ color: rgb(194, 139, 238);
/* oklch */ color: oklch(72.8% 0.149 308.7);
Tailwind
colors: {
  custom: {
    50: '#d6aef4',
    500: '#c28bee',
    950: '#000000',
  },
}
SCSS
$custom: #c28bee;
$custom-light: #d6aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bee",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 273.333,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72792,
    "c": 0.14943,
    "h": 308.7
  },
  "luminance": 0.36108
}

Semantic roles & 50–950 ramp

primary
#C28BEE
secondary
#E4F3D8
accent
#D70F68
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C28BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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