#B28FCD#B28FCD

#B28FCD is a light, moderate violet. Relative luminance 0.335; OKLCH L 70.4% C 0.096 H 309.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B28FCD
RGBrgb(178, 143, 205)
HSLhsl(274, 38%, 68%)
HSVhsv(274, 30%, 80%)
CMYKcmyk(13.2%, 30.2%, 0%, 19.6%)
CIE-LABlab(64.58, 24.86, -26.98)
CIE-LCHlch(64.58, 36.68, 312.66°)
OKLaboklab(70.44% 0.0616 -0.0739)
OKLCHoklch(70.44% 0.096 309.8)
XYZxyz(39.2000, 33.5181, 62.1503)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FCD #AACD8F
analogous
#938FCD #B28FCD #CD8FC9
triadic
#B28FCD #CDB28F #8FCDB2
tetradic
#B28FCD #CD938F #AACD8F #8FC9CD
square
#B28FCD #CD938F #AACD8F #8FC9CD
split-complementary
#B28FCD #C9CD8F #8FCD93
monochromatic
#76469C #9565BA #B28FCD #CFB9E0 #ECE4F3

Accessibility & contrast

On white

2.73
#B28FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#B28FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FCD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FCD#FFFFFF#000000##000000
##B28FCD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BCF
Deuteranopia (green-blind)
#8C9DCB
Tritanopia (blue-blind)
#AF97A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b28fcd;
/* rgb */ color: rgb(178, 143, 205);
/* oklch */ color: oklch(70.4% 0.096 309.8);
Tailwind
colors: {
  custom: {
    50: '#c9b0dc',
    500: '#b28fcd',
    950: '#000000',
  },
}
SCSS
$custom: #b28fcd;
$custom-light: #c9b0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b28fcd",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 205
  },
  "hsl": {
    "h": 273.871,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70441,
    "c": 0.09622,
    "h": 309.8
  },
  "luminance": 0.33518
}

Semantic roles & 50–950 ramp

primary
#B28FCD
secondary
#DBE5D2
accent
#B1346B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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