#B56EF3#B56EF3

#B56EF3 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.2% C 0.197 H 306.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B56EF3
RGBrgb(181, 110, 243)
HSLhsl(272, 85%, 69%)
HSVhsv(272, 55%, 95%)
CMYKcmyk(25.5%, 54.7%, 0%, 4.7%)
CIE-LABlab(59.39, 52.26, -56.27)
CIE-LCHlch(59.39, 76.79, 312.88°)
OKLaboklab(67.19% 0.1171 -0.1584)
OKLCHoklch(67.19% 0.197 306.5)
XYZxyz(40.8063, 27.4471, 87.9247)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF3 #ACF36E
analogous
#736EF3 #B56EF3 #F36EEF
triadic
#B56EF3 #F3B56E #6EF3B5
tetradic
#B56EF3 #F3736E #ACF36E #6EEFF3
square
#B56EF3 #F3736E #ACF36E #6EEFF3
split-complementary
#B56EF3 #EFF36E #6EF373
monochromatic
#7A12D5 #9835EE #B56EF3 #D2A7F8 #EFDFFC

Accessibility & contrast

On white

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

On black

6.49
#B56EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EF3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EF3#FFFFFF#000000##000000
##B56EF31.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408DF7
Deuteranopia (green-blind)
#598FF0
Tritanopia (blue-blind)
#AB87A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56ef3;
/* rgb */ color: rgb(181, 110, 243);
/* oklch */ color: oklch(67.2% 0.197 306.5);
Tailwind
colors: {
  custom: {
    50: '#ce9af8',
    500: '#b56ef3',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef3;
$custom-light: #ce9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef3",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 272.03,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67191,
    "c": 0.19695,
    "h": 306.5
  },
  "luminance": 0.27447
}

Semantic roles & 50–950 ramp

primary
#B56EF3
secondary
#DDF2CB
accent
#E1046B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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