#C28BEC#C28BEC

#C28BEC is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.7% C 0.147 H 309.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#C28BEC
RGBrgb(194, 139, 236)
HSLhsl(274, 72%, 74%)
HSVhsv(274, 41%, 93%)
CMYKcmyk(17.8%, 41.1%, 0%, 7.5%)
CIE-LABlab(66.51, 38.65, -41.04)
CIE-LCHlch(66.51, 56.38, 313.28°)
OKLaboklab(72.7% 0.093 -0.1139)
OKLCHoklch(72.7% 0.147 309.2)
XYZxyz(46.6183, 35.9913, 83.8318)
Luminance0.3599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BEC #B5EC8B
analogous
#918BEC #C28BEC #EC8BE5
triadic
#C28BEC #ECC28B #8BECC2
tetradic
#C28BEC #EC918B #B5EC8B #8BE5EC
square
#C28BEC #EC918B #B5EC8B #8BE5EC
split-complementary
#C28BEC #E5EC8B #8BEC91
monochromatic
#8A24D9 #A656E3 #C28BEC #DEC0F5 #F1E5FB

Accessibility & contrast

On white

2.56
#C28BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#C28BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BEC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BEC#FFFFFF#000000##000000
##C28BEC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#BD9AB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c28bec;
/* rgb */ color: rgb(194, 139, 236);
/* oklch */ color: oklch(72.7% 0.147 309.2);
Tailwind
colors: {
  custom: {
    50: '#d6aef2',
    500: '#c28bec',
    950: '#000000',
  },
}
SCSS
$custom: #c28bec;
$custom-light: #d6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bec",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 274.021,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72696,
    "c": 0.14705,
    "h": 309.2
  },
  "luminance": 0.35991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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