#B56DFA#B56DFA

#B56DFA is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.5% C 0.206 H 305.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B56DFA
RGBrgb(181, 109, 250)
HSLhsl(271, 93%, 70%)
HSVhsv(271, 56%, 98%)
CMYKcmyk(27.6%, 56.4%, 0%, 2%)
CIE-LABlab(59.58, 54.37, -59.83)
CIE-LCHlch(59.58, 80.84, 312.26°)
OKLaboklab(67.46% 0.1185 -0.1688)
OKLCHoklch(67.46% 0.206 305.1)
XYZxyz(41.7763, 27.6634, 93.5627)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DFA #B2FA6D
analogous
#6E6DFA #B56DFA #FA6DF9
triadic
#B56DFA #FAB56D #6DFAB5
tetradic
#B56DFA #FA6E6D #B2FA6D #6DF9FA
square
#B56DFA #FA6E6D #B2FA6D #6DF9FA
split-complementary
#B56DFA #F9FA6D #6DFA6E
monochromatic
#7908E5 #9732F8 #B56DFA #D3A8FC #F0E1FE

Accessibility & contrast

On white

3.21
#B56DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B56DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DFA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DFA#FFFFFF#000000##000000
##B56DFA1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#358DFF
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#A988A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56dfa;
/* rgb */ color: rgb(181, 109, 250);
/* oklch */ color: oklch(67.5% 0.206 305.1);
Tailwind
colors: {
  custom: {
    50: '#cf99fd',
    500: '#b56dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b56dfa;
$custom-light: #cf99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56dfa",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 270.638,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67463,
    "c": 0.20624,
    "h": 305.1
  },
  "luminance": 0.27663
}

Semantic roles & 50–950 ramp

primary
#B56DFA
secondary
#E1F5CE
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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