#B56AFF#B56AFF

#B56AFF is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.3% C 0.216 H 304.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B56AFF
RGBrgb(181, 106, 255)
HSLhsl(270, 100%, 71%)
HSVhsv(270, 58%, 100%)
CMYKcmyk(29%, 58.4%, 0%, 0%)
CIE-LABlab(59.30, 57.05, -63.04)
CIE-LCHlch(59.30, 85.02, 312.14°)
OKLaboklab(67.35% 0.1221 -0.1782)
OKLCHoklch(67.35% 0.216 304.4)
XYZxyz(42.2561, 27.3520, 97.6417)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56AFF #B4FF6A
analogous
#6A6AFF #B56AFF #FF6AFF
triadic
#B56AFF #FFB56A #6AFFB5
tetradic
#B56AFF #FF6A6A #B4FF6A #6AFFFF
square
#B56AFF #FF6A6A #B4FF6A #6AFFFF
split-complementary
#B56AFF #FFFF6A #6AFF6A
monochromatic
#7800EF #972DFF #B56AFF #D3A7FF #F0E0FF

Accessibility & contrast

On white

3.25
#B56AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B56AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56AFF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56AFF#FFFFFF#000000##000000
##B56AFF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#238DFF
Deuteranopia (green-blind)
#498FFC
Tritanopia (blue-blind)
#A888AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56aff;
/* rgb */ color: rgb(181, 106, 255);
/* oklch */ color: oklch(67.3% 0.216 304.4);
Tailwind
colors: {
  custom: {
    50: '#cf98ff',
    500: '#b56aff',
    950: '#000000',
  },
}
SCSS
$custom: #b56aff;
$custom-light: #cf98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56aff",
  "rgb": {
    "r": 181,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 270.201,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67348,
    "c": 0.21604,
    "h": 304.4
  },
  "luminance": 0.27352
}

Semantic roles & 50–950 ramp

primary
#B56AFF
secondary
#E2F6CE
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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