#B56BF2#B56BF2

#B56BF2 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.7% C 0.200 H 307.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B56BF2
RGBrgb(181, 107, 242)
HSLhsl(273, 84%, 68%)
HSVhsv(273, 56%, 95%)
CMYKcmyk(25.2%, 55.8%, 0%, 5.1%)
CIE-LABlab(58.74, 53.58, -56.74)
CIE-LCHlch(58.74, 78.04, 313.36°)
OKLaboklab(66.7% 0.1208 -0.1597)
OKLCHoklch(66.7% 0.2 307.1)
XYZxyz(40.3375, 26.7504, 87.0255)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BF2 #A8F26B
analogous
#716BF2 #B56BF2 #F26BEB
triadic
#B56BF2 #F2B56B #6BF2B5
tetradic
#B56BF2 #F2716B #A8F26B #6BEBF2
square
#B56BF2 #F2716B #A8F26B #6BEBF2
split-complementary
#B56BF2 #EBF26B #6BF271
monochromatic
#7A12D0 #9933ED #B56BF2 #D1A3F7 #EDDCFC

Accessibility & contrast

On white

3.31
#B56BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B56BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BF2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BF2#FFFFFF#000000##000000
##B56BF21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#AC84A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56bf2;
/* rgb */ color: rgb(181, 107, 242);
/* oklch */ color: oklch(66.7% 0.200 307.1);
Tailwind
colors: {
  custom: {
    50: '#ce98f7',
    500: '#b56bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b56bf2;
$custom-light: #ce98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bf2",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 272.889,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66701,
    "c": 0.20027,
    "h": 307.1
  },
  "luminance": 0.2675
}

Semantic roles & 50–950 ramp

primary
#B56BF2
secondary
#DAF1C8
accent
#E00568
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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