#B28CDB#B28CDB

#B28CDB is a light, moderate violet. Relative luminance 0.333; OKLCH L 70.5% C 0.119 H 305.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B28CDB
RGBrgb(178, 140, 219)
HSLhsl(269, 52%, 70%)
HSVhsv(269, 36%, 86%)
CMYKcmyk(18.7%, 36.1%, 0%, 14.1%)
CIE-LABlab(64.43, 29.63, -35.00)
CIE-LCHlch(64.43, 45.86, 310.25°)
OKLaboklab(70.52% 0.0694 -0.0968)
OKLCHoklch(70.52% 0.119 305.6)
XYZxyz(40.5218, 33.3358, 71.3038)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CDB #B5DB8C
analogous
#8C8DDB #B28CDB #DA8CDB
triadic
#B28CDB #DBB28C #8CDBB2
tetradic
#B28CDB #DB8C8D #B5DB8C #8CDBDA
square
#B28CDB #DB8C8D #B5DB8C #8CDBDA
split-complementary
#B28CDB #DBDA8C #8DDB8C
monochromatic
#7438B4 #935DCC #B28CDB #D1BBEA #EFE8F8

Accessibility & contrast

On white

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

On black

7.67
#B28CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28CDB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28CDB#FFFFFF#000000##000000
##B28CDB1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDE
Deuteranopia (green-blind)
#839CD9
Tritanopia (blue-blind)
#AC98A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b28cdb;
/* rgb */ color: rgb(178, 140, 219);
/* oklch */ color: oklch(70.5% 0.119 305.6);
Tailwind
colors: {
  custom: {
    50: '#caaee6',
    500: '#b28cdb',
    950: '#000000',
  },
}
SCSS
$custom: #b28cdb;
$custom-light: #caaee6;
$custom-dark: #000000;
JSON
{
  "hex": "#b28cdb",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 268.861,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70516,
    "c": 0.11915,
    "h": 305.6
  },
  "luminance": 0.33336
}

Semantic roles & 50–950 ramp

primary
#B28CDB
secondary
#E2ECD7
accent
#C02676
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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