#C28BEA#C28BEA

#C28BEA is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.6% C 0.145 H 309.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#C28BEA
RGBrgb(194, 139, 234)
HSLhsl(275, 69%, 73%)
HSVhsv(275, 41%, 92%)
CMYKcmyk(17.1%, 40.6%, 0%, 8.2%)
CIE-LABlab(66.42, 38.22, -40.08)
CIE-LCHlch(66.42, 55.38, 313.64°)
OKLaboklab(72.6% 0.0927 -0.1111)
OKLCHoklch(72.6% 0.145 309.8)
XYZxyz(46.3293, 35.8757, 82.3100)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BEA #B3EA8B
analogous
#928BEA #C28BEA #EA8BE2
triadic
#C28BEA #EAC28B #8BEAC2
tetradic
#C28BEA #EA928B #B3EA8B #8BE2EA
square
#C28BEA #EA928B #B3EA8B #8BE2EA
split-complementary
#C28BEA #E2EA8B #8BEA92
monochromatic
#8B26D4 #A757E1 #C28BEA #DDBFF3 #F1E5FA

Accessibility & contrast

On white

2.57
#C28BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#C28BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BEA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BEA#FFFFFF#000000##000000
##C28BEA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#85A2E7
Tritanopia (blue-blind)
#BD99AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c28bea;
/* rgb */ color: rgb(194, 139, 234);
/* oklch */ color: oklch(72.6% 0.145 309.8);
Tailwind
colors: {
  custom: {
    50: '#d6aef1',
    500: '#c28bea',
    950: '#000000',
  },
}
SCSS
$custom: #c28bea;
$custom-light: #d6aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bea",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 274.737,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.726,
    "c": 0.14468,
    "h": 309.8
  },
  "luminance": 0.35875
}

Semantic roles & 50–950 ramp

primary
#C28BEA
secondary
#E4F2D9
accent
#D11464
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C28BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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