#B28CDC#B28CDC

#B28CDC is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.6% C 0.120 H 305.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B28CDC
RGBrgb(178, 140, 220)
HSLhsl(269, 53%, 71%)
HSVhsv(269, 36%, 86%)
CMYKcmyk(19.1%, 36.4%, 0%, 13.7%)
CIE-LABlab(64.47, 29.85, -35.49)
CIE-LCHlch(64.47, 46.38, 310.07°)
OKLaboklab(70.56% 0.0697 -0.0982)
OKLCHoklch(70.56% 0.12 305.3)
XYZxyz(40.6539, 33.3887, 71.9992)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CDC #B6DC8C
analogous
#8C8EDC #B28CDC #DA8CDC
triadic
#B28CDC #DCB28C #8CDCB2
tetradic
#B28CDC #DC8C8E #B6DC8C #8CDCDA
square
#B28CDC #DC8C8E #B6DC8C #8CDCDA
split-complementary
#B28CDC #DCDA8C #8EDC8C
monochromatic
#7437B6 #935DCE #B28CDC #D1BBEA #EFE8F8

Accessibility & contrast

On white

2.74
#B28CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#B28CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28CDC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28CDC#FFFFFF#000000##000000
##B28CDC1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDF
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#AC98AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b28cdc;
/* rgb */ color: rgb(178, 140, 220);
/* oklch */ color: oklch(70.6% 0.120 305.3);
Tailwind
colors: {
  custom: {
    50: '#caaee7',
    500: '#b28cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b28cdc;
$custom-light: #caaee7;
$custom-dark: #000000;
JSON
{
  "hex": "#b28cdc",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 268.5,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70562,
    "c": 0.12042,
    "h": 305.3
  },
  "luminance": 0.33388
}

Semantic roles & 50–950 ramp

primary
#B28CDC
secondary
#E2EDD7
accent
#C12577
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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