#B28CED#B28CED

#B28CED is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.4% C 0.142 H 300.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B28CED
RGBrgb(178, 140, 237)
HSLhsl(264, 73%, 74%)
HSVhsv(264, 41%, 93%)
CMYKcmyk(24.9%, 40.9%, 0%, 7.1%)
CIE-LABlab(65.23, 33.78, -43.72)
CIE-LCHlch(65.23, 55.25, 307.69°)
OKLaboklab(71.38% 0.0731 -0.122)
OKLCHoklch(71.38% 0.142 300.9)
XYZxyz(43.0208, 34.3354, 84.4653)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CED #C7ED8C
analogous
#8C97ED #B28CED #E38CED
triadic
#B28CED #EDB28C #8CEDB2
tetradic
#B28CED #ED8C97 #C7ED8C #8CEDE3
square
#B28CED #ED8C97 #C7ED8C #8CEDE3
split-complementary
#B28CED #EDE38C #97ED8C
monochromatic
#6B22DC #8F57E5 #B28CED #D5C1F5 #EDE5FB

Accessibility & contrast

On white

2.67
#B28CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B28CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28CED
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28CED#FFFFFF#000000##000000
##B28CED1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF1
Deuteranopia (green-blind)
#7A9EEA
Tritanopia (blue-blind)
#A79CB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b28ced;
/* rgb */ color: rgb(178, 140, 237);
/* oklch */ color: oklch(71.4% 0.142 300.9);
Tailwind
colors: {
  custom: {
    50: '#cbaef3',
    500: '#b28ced',
    950: '#000000',
  },
}
SCSS
$custom: #b28ced;
$custom-light: #cbaef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ced",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 263.505,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7138,
    "c": 0.14217,
    "h": 300.9
  },
  "luminance": 0.34336
}

Semantic roles & 50–950 ramp

primary
#B28CED
secondary
#E8F3D8
accent
#D51088
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B28CED

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

Preview Lab → · Contrast checker → · Palette generator →

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