#B56CF2#B56CF2

#B56CF2 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.199 H 307.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B56CF2
RGBrgb(181, 108, 242)
HSLhsl(273, 84%, 69%)
HSVhsv(273, 55%, 95%)
CMYKcmyk(25.2%, 55.4%, 0%, 5.1%)
CIE-LABlab(58.94, 53.06, -56.43)
CIE-LCHlch(58.94, 77.46, 313.24°)
OKLaboklab(66.84% 0.1196 -0.1588)
OKLCHoklch(66.84% 0.199 307)
XYZxyz(40.4423, 26.9601, 87.0605)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF2 #A9F26C
analogous
#726CF2 #B56CF2 #F26CEC
triadic
#B56CF2 #F2B56C #6CF2B5
tetradic
#B56CF2 #F2726C #A9F26C #6CECF2
square
#B56CF2 #F2726C #A9F26C #6CECF2
split-complementary
#B56CF2 #ECF26C #6CF272
monochromatic
#7A12D1 #9934ED #B56CF2 #D1A4F7 #EEDCFC

Accessibility & contrast

On white

3.29
#B56CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B56CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CF2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CF2#FFFFFF#000000##000000
##B56CF21.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#AC85A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56cf2;
/* rgb */ color: rgb(181, 108, 242);
/* oklch */ color: oklch(66.8% 0.199 307.0);
Tailwind
colors: {
  custom: {
    50: '#ce99f7',
    500: '#b56cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf2;
$custom-light: #ce99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf2",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 272.687,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66844,
    "c": 0.19879,
    "h": 307
  },
  "luminance": 0.2696
}

Semantic roles & 50–950 ramp

primary
#B56CF2
secondary
#DBF1C9
accent
#E00569
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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