#B28DCF#B28DCF

#B28DCF is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.2% C 0.102 H 309.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B28DCF
RGBrgb(178, 141, 207)
HSLhsl(274, 41%, 68%)
HSVhsv(274, 32%, 81%)
CMYKcmyk(14%, 31.9%, 0%, 18.8%)
CIE-LABlab(64.18, 26.42, -28.71)
CIE-LCHlch(64.18, 39.01, 312.61°)
OKLaboklab(70.16% 0.0651 -0.0788)
OKLCHoklch(70.16% 0.102 309.5)
XYZxyz(39.1454, 33.0201, 63.3307)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28DCF #AACF8D
analogous
#918DCF #B28DCF #CF8DCB
triadic
#B28DCF #CFB28D #8DCFB2
tetradic
#B28DCF #CF918D #AACF8D #8DCBCF
square
#B28DCF #CF918D #AACF8D #8DCBCF
split-complementary
#B28DCF #CBCF8D #8DCF91
monochromatic
#76439F #9562BD #B28DCF #CFB8E1 #ECE3F3

Accessibility & contrast

On white

2.76
#B28DCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B28DCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28DCF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28DCF#FFFFFF#000000##000000
##B28DCF1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#819AD2
Deuteranopia (green-blind)
#899CCD
Tritanopia (blue-blind)
#AF96A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b28dcf;
/* rgb */ color: rgb(178, 141, 207);
/* oklch */ color: oklch(70.2% 0.102 309.5);
Tailwind
colors: {
  custom: {
    50: '#caaede',
    500: '#b28dcf',
    950: '#000000',
  },
}
SCSS
$custom: #b28dcf;
$custom-light: #caaede;
$custom-dark: #000000;
JSON
{
  "hex": "#b28dcf",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 207
  },
  "hsl": {
    "h": 273.636,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7016,
    "c": 0.10223,
    "h": 309.5
  },
  "luminance": 0.3302
}

Semantic roles & 50–950 ramp

primary
#B28DCF
secondary
#DBE6D2
accent
#B4326B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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