#B56FFA#B56FFA

#B56FFA is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.8% C 0.203 H 304.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B56FFA
RGBrgb(181, 111, 250)
HSLhsl(270, 93%, 71%)
HSVhsv(270, 56%, 98%)
CMYKcmyk(27.6%, 55.6%, 0%, 2%)
CIE-LABlab(59.97, 53.34, -59.20)
CIE-LCHlch(59.97, 79.68, 312.02°)
OKLaboklab(67.75% 0.1161 -0.1669)
OKLCHoklch(67.75% 0.203 304.8)
XYZxyz(41.9921, 28.0950, 93.6346)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FFA #B4FA6F
analogous
#6F6FFA #B56FFA #FA6FF9
triadic
#B56FFA #FAB56F #6FFAB5
tetradic
#B56FFA #FA6F6F #B4FA6F #6FF9FA
square
#B56FFA #FA6F6F #B4FA6F #6FF9FA
split-complementary
#B56FFA #F9FA6F #6FFA6F
monochromatic
#7808E7 #9734F8 #B56FFA #D3AAFC #F0E1FE

Accessibility & contrast

On white

3.17
#B56FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B56FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FFA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FFA#FFFFFF#000000##000000
##B56FFA1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#A98AAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ffa;
/* rgb */ color: rgb(181, 111, 250);
/* oklch */ color: oklch(67.8% 0.203 304.8);
Tailwind
colors: {
  custom: {
    50: '#cf9bfd',
    500: '#b56ffa',
    950: '#000000',
  },
}
SCSS
$custom: #b56ffa;
$custom-light: #cf9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ffa",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 270.216,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6775,
    "c": 0.20333,
    "h": 304.8
  },
  "luminance": 0.28095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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