#B56EF2#B56EF2

#B56EF2 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.1% C 0.196 H 306.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B56EF2
RGBrgb(181, 110, 242)
HSLhsl(272, 84%, 69%)
HSVhsv(272, 55%, 95%)
CMYKcmyk(25.2%, 54.5%, 0%, 5.1%)
CIE-LABlab(59.33, 52.03, -55.80)
CIE-LCHlch(59.33, 76.29, 313.00°)
OKLaboklab(67.13% 0.1171 -0.157)
OKLCHoklch(67.13% 0.196 306.7)
XYZxyz(40.6557, 27.3868, 87.1316)
Luminance0.2739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF2 #ABF26E
analogous
#736EF2 #B56EF2 #F26EED
triadic
#B56EF2 #F2B56E #6EF2B5
tetradic
#B56EF2 #F2736E #ABF26E #6EEDF2
square
#B56EF2 #F2736E #ABF26E #6EEDF2
split-complementary
#B56EF2 #EDF26E #6EF273
monochromatic
#7A13D3 #9836ED #B56EF2 #D2A6F7 #EEDEFC

Accessibility & contrast

On white

3.24
#B56EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B56EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EF2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EF2#FFFFFF#000000##000000
##B56EF21.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#5A8FEF
Tritanopia (blue-blind)
#AB86A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56ef2;
/* rgb */ color: rgb(181, 110, 242);
/* oklch */ color: oklch(67.1% 0.196 306.7);
Tailwind
colors: {
  custom: {
    50: '#ce9af7',
    500: '#b56ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef2;
$custom-light: #ce9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef2",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 272.273,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67133,
    "c": 0.19583,
    "h": 306.7
  },
  "luminance": 0.27386
}

Semantic roles & 50–950 ramp

primary
#B56EF2
secondary
#DCF1CB
accent
#E0066A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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