#B28FDB#B28FDB

#B28FDB is a light, moderate violet. Relative luminance 0.342; OKLCH L 71.1% C 0.114 H 304.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B28FDB
RGBrgb(178, 143, 219)
HSLhsl(268, 51%, 71%)
HSVhsv(268, 35%, 86%)
CMYKcmyk(18.7%, 34.7%, 0%, 14.1%)
CIE-LABlab(65.14, 27.94, -33.90)
CIE-LCHlch(65.14, 43.93, 309.50°)
OKLaboklab(71.06% 0.0651 -0.0937)
OKLCHoklch(71.06% 0.114 304.8)
XYZxyz(40.9662, 34.2245, 71.4519)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FDB #B8DB8F
analogous
#8F92DB #B28FDB #D88FDB
triadic
#B28FDB #DBB28F #8FDBB2
tetradic
#B28FDB #DB8F92 #B8DB8F #8FDBD8
square
#B28FDB #DB8F92 #B8DB8F #8FDBD8
split-complementary
#B28FDB #DBD88F #92DB8F
monochromatic
#733AB5 #9261CC #B28FDB #D2BDEA #EFE8F8

Accessibility & contrast

On white

2.68
#B28FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B28FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FDB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FDB#FFFFFF#000000##000000
##B28FDB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDE
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#AC9AAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b28fdb;
/* rgb */ color: rgb(178, 143, 219);
/* oklch */ color: oklch(71.1% 0.114 304.8);
Tailwind
colors: {
  custom: {
    50: '#cab0e6',
    500: '#b28fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b28fdb;
$custom-light: #cab0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b28fdb",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 267.632,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71055,
    "c": 0.1141,
    "h": 304.8
  },
  "luminance": 0.34224
}

Semantic roles & 50–950 ramp

primary
#B28FDB
secondary
#E4EDD9
accent
#BF2779
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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