#B56EF0#B56EF0

#B56EF0 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.194 H 307.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B56EF0
RGBrgb(181, 110, 240)
HSLhsl(273, 81%, 69%)
HSVhsv(273, 54%, 94%)
CMYKcmyk(24.6%, 54.2%, 0%, 5.9%)
CIE-LABlab(59.22, 51.58, -54.87)
CIE-LCHlch(59.22, 75.30, 313.23°)
OKLaboklab(67.02% 0.117 -0.1543)
OKLCHoklch(67.02% 0.194 307.2)
XYZxyz(40.3569, 27.2673, 85.5583)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF0 #A9F06E
analogous
#746EF0 #B56EF0 #F06EEA
triadic
#B56EF0 #F0B56E #6EF0B5
tetradic
#B56EF0 #F0746E #A9F06E #6EEAF0
square
#B56EF0 #F0746E #A9F06E #6EEAF0
split-complementary
#B56EF0 #EAF06E #6EF074
monochromatic
#7A15CE #9937EA #B56EF0 #D1A5F6 #EEDDFB

Accessibility & contrast

On white

3.25
#B56EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B56EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EF0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EF0#FFFFFF#000000##000000
##B56EF01.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF4
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#AC86A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56ef0;
/* rgb */ color: rgb(181, 110, 240);
/* oklch */ color: oklch(67.0% 0.194 307.2);
Tailwind
colors: {
  custom: {
    50: '#ce9af5',
    500: '#b56ef0',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef0;
$custom-light: #ce9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef0",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 240
  },
  "hsl": {
    "h": 272.769,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67017,
    "c": 0.19359,
    "h": 307.2
  },
  "luminance": 0.27267
}

Semantic roles & 50–950 ramp

primary
#B56EF0
secondary
#DBF0CA
accent
#DE0869
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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