#C28BED#C28BED

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

Color values

HEX#C28BED
RGBrgb(194, 139, 237)
HSLhsl(274, 73%, 74%)
HSVhsv(274, 41%, 93%)
CMYKcmyk(18.1%, 41.4%, 0%, 7.1%)
CIE-LABlab(66.56, 38.87, -41.52)
CIE-LCHlch(66.56, 56.88, 313.11°)
OKLaboklab(72.74% 0.0932 -0.1153)
OKLCHoklch(72.74% 0.148 309)
XYZxyz(46.7639, 36.0496, 84.5991)
Luminance0.3605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BED #B6ED8B
analogous
#918BED #C28BED #ED8BE7
triadic
#C28BED #EDC28B #8BEDC2
tetradic
#C28BED #ED918B #B6ED8B #8BE7ED
square
#C28BED #ED918B #B6ED8B #8BE7ED
split-complementary
#C28BED #E7ED8B #8BED91
monochromatic
#8A22DC #A656E5 #C28BED #DEC0F5 #F1E5FB

Accessibility & contrast

On white

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

On black

8.21
#C28BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BED
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BED#FFFFFF#000000##000000
##C28BED1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF1
Deuteranopia (green-blind)
#83A3EA
Tritanopia (blue-blind)
#BD9AB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c28bed;
/* rgb */ color: rgb(194, 139, 237);
/* oklch */ color: oklch(72.7% 0.148 309.0);
Tailwind
colors: {
  custom: {
    50: '#d6aef3',
    500: '#c28bed',
    950: '#000000',
  },
}
SCSS
$custom: #c28bed;
$custom-light: #d6aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bed",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 273.673,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72744,
    "c": 0.14825,
    "h": 309
  },
  "luminance": 0.36049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28BED

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

Preview Lab → · Contrast checker → · Palette generator →

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