#B28CCF#B28CCF

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

Color values

HEX#B28CCF
RGBrgb(178, 140, 207)
HSLhsl(274, 41%, 68%)
HSVhsv(274, 32%, 81%)
CMYKcmyk(14%, 32.4%, 0%, 18.8%)
CIE-LABlab(63.94, 26.98, -29.08)
CIE-LCHlch(63.94, 39.67, 312.85°)
OKLaboklab(69.98% 0.0665 -0.0799)
OKLCHoklch(69.98% 0.104 309.8)
XYZxyz(38.9987, 32.7266, 63.2818)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CCF #A9CF8C
analogous
#908CCF #B28CCF #CF8CCA
triadic
#B28CCF #CFB28C #8CCFB2
tetradic
#B28CCF #CF908C #A9CF8C #8CCACF
square
#B28CCF #CF908C #A9CF8C #8CCACF
split-complementary
#B28CCF #CACF8C #8CCF90
monochromatic
#77429E #9561BD #B28CCF #CFB7E1 #ECE2F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28CCF#FFFFFF#000000##000000
##B28CCF1.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)
#8099D2
Deuteranopia (green-blind)
#889CCD
Tritanopia (blue-blind)
#AF95A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28ccf;
/* rgb */ color: rgb(178, 140, 207);
/* oklch */ color: oklch(70.0% 0.104 309.8);
Tailwind
colors: {
  custom: {
    50: '#caaede',
    500: '#b28ccf',
    950: '#000000',
  },
}
SCSS
$custom: #b28ccf;
$custom-light: #caaede;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ccf",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 274.03,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69978,
    "c": 0.10397,
    "h": 309.8
  },
  "luminance": 0.32726
}

Semantic roles & 50–950 ramp

primary
#B28CCF
secondary
#DAE6D1
accent
#B4316A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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