#B28FCF#B28FCF

#B28FCF is a light, moderate violet. Relative luminance 0.336; OKLCH L 70.5% C 0.099 H 309.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B28FCF
RGBrgb(178, 143, 207)
HSLhsl(273, 40%, 69%)
HSVhsv(273, 31%, 81%)
CMYKcmyk(14%, 30.9%, 0%, 18.8%)
CIE-LABlab(64.66, 25.29, -27.97)
CIE-LCHlch(64.66, 37.71, 312.12°)
OKLaboklab(70.53% 0.0621 -0.0768)
OKLCHoklch(70.53% 0.099 309)
XYZxyz(39.4430, 33.6153, 63.4299)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FCF #ACCF8F
analogous
#928FCF #B28FCF #CF8FCC
triadic
#B28FCF #CFB28F #8FCFB2
tetradic
#B28FCF #CF928F #ACCF8F #8FCCCF
square
#B28FCF #CF928F #ACCF8F #8FCCCF
split-complementary
#B28FCF #CCCF8F #8FCF92
monochromatic
#76449F #9564BD #B28FCF #CFBAE1 #EDE5F4

Accessibility & contrast

On white

2.72
#B28FCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#B28FCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FCF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FCF#FFFFFF#000000##000000
##B28FCF1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BD2
Deuteranopia (green-blind)
#8B9DCD
Tritanopia (blue-blind)
#AF98A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b28fcf;
/* rgb */ color: rgb(178, 143, 207);
/* oklch */ color: oklch(70.5% 0.099 309.0);
Tailwind
colors: {
  custom: {
    50: '#c9b0de',
    500: '#b28fcf',
    950: '#000000',
  },
}
SCSS
$custom: #b28fcf;
$custom-light: #c9b0de;
$custom-dark: #000000;
JSON
{
  "hex": "#b28fcf",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 207
  },
  "hsl": {
    "h": 272.813,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70526,
    "c": 0.09874,
    "h": 309
  },
  "luminance": 0.33615
}

Semantic roles & 50–950 ramp

primary
#B28FCF
secondary
#DCE6D3
accent
#B3326D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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