#B28CD0#B28CD0

#B28CD0 is a light, moderate violet. Relative luminance 0.328; OKLCH L 70.0% C 0.105 H 309.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B28CD0
RGBrgb(178, 140, 208)
HSLhsl(274, 42%, 68%)
HSVhsv(274, 33%, 82%)
CMYKcmyk(14.4%, 32.7%, 0%, 18.4%)
CIE-LABlab(63.98, 27.19, -29.58)
CIE-LCHlch(63.98, 40.18, 312.60°)
OKLaboklab(70.02% 0.0668 -0.0813)
OKLCHoklch(70.02% 0.105 309.4)
XYZxyz(39.1213, 32.7756, 63.9277)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CD0 #AAD08C
analogous
#908CD0 #B28CD0 #D08CCC
triadic
#B28CD0 #D0B28C #8CD0B2
tetradic
#B28CD0 #D0908C #AAD08C #8CCCD0
square
#B28CD0 #D0908C #AAD08C #8CCCD0
split-complementary
#B28CD0 #CCD08C #8CD090
monochromatic
#7641A0 #9561BE #B28CD0 #CFB7E2 #ECE3F4

Accessibility & contrast

On white

2.78
#B28CD0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B28CD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28CD0
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28CD0#FFFFFF#000000##000000
##B28CD01.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8099D3
Deuteranopia (green-blind)
#889CCE
Tritanopia (blue-blind)
#AF95A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28cd0;
/* rgb */ color: rgb(178, 140, 208);
/* oklch */ color: oklch(70.0% 0.105 309.4);
Tailwind
colors: {
  custom: {
    50: '#caaede',
    500: '#b28cd0',
    950: '#000000',
  },
}
SCSS
$custom: #b28cd0;
$custom-light: #caaede;
$custom-dark: #000000;
JSON
{
  "hex": "#b28cd0",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 208
  },
  "hsl": {
    "h": 273.529,
    "s": 41.975,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70022,
    "c": 0.10523,
    "h": 309.4
  },
  "luminance": 0.32775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B28CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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