#B28DCD#B28DCD

#B28DCD is a light, moderate violet. Relative luminance 0.329; OKLCH L 70.1% C 0.100 H 310.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B28DCD
RGBrgb(178, 141, 205)
HSLhsl(275, 39%, 68%)
HSVhsv(275, 31%, 80%)
CMYKcmyk(13.2%, 31.2%, 0%, 19.6%)
CIE-LABlab(64.10, 25.98, -27.72)
CIE-LCHlch(64.10, 37.99, 313.15°)
OKLaboklab(70.07% 0.0645 -0.076)
OKLCHoklch(70.07% 0.1 310.3)
XYZxyz(38.9025, 32.9230, 62.0511)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28DCD #A8CD8D
analogous
#928DCD #B28DCD #CD8DC8
triadic
#B28DCD #CDB28D #8DCDB2
tetradic
#B28DCD #CD928D #A8CD8D #8DC8CD
square
#B28DCD #CD928D #A8CD8D #8DC8CD
split-complementary
#B28DCD #C8CD8D #8DCD92
monochromatic
#77449B #9562BA #B28DCD #CFB8E0 #EBE2F2

Accessibility & contrast

On white

2.77
#B28DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B28DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28DCD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28DCD#FFFFFF#000000##000000
##B28DCD1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#829AD0
Deuteranopia (green-blind)
#8A9CCB
Tritanopia (blue-blind)
#AF96A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28dcd;
/* rgb */ color: rgb(178, 141, 205);
/* oklch */ color: oklch(70.1% 0.100 310.3);
Tailwind
colors: {
  custom: {
    50: '#c9aedc',
    500: '#b28dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b28dcd;
$custom-light: #c9aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#b28dcd",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 274.688,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.09972,
    "h": 310.3
  },
  "luminance": 0.32923
}

Semantic roles & 50–950 ramp

primary
#B28DCD
secondary
#D9E5D1
accent
#B23369
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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