#B756EB#B756EB

#B756EB is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.7% C 0.223 H 311.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B756EB
RGBrgb(183, 86, 235)
HSLhsl(279, 79%, 63%)
HSVhsv(279, 63%, 92%)
CMYKcmyk(22.1%, 63.4%, 0%, 7.8%)
CIE-LABlab(54.78, 62.75, -59.16)
CIE-LCHlch(54.78, 86.24, 316.69°)
OKLaboklab(63.74% 0.1484 -0.1667)
OKLCHoklch(63.74% 0.223 311.7)
XYZxyz(37.8489, 22.7219, 80.9731)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B756EB #8AEB56
analogous
#6C56EB #B756EB #EB56D5
triadic
#B756EB #EBB756 #56EBB7
tetradic
#B756EB #EB6C56 #8AEB56 #56D5EB
square
#B756EB #EB6C56 #8AEB56 #56D5EB
split-complementary
#B756EB #D5EB56 #56EB6C
monochromatic
#7B15B2 #A01FE5 #B756EB #CE8DF1 #E6C3F8

Accessibility & contrast

On white

3.79
#B756EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B756EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B756EB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B756EB#FFFFFF#000000##000000
##B756EB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#B17399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b756eb;
/* rgb */ color: rgb(183, 86, 235);
/* oklch */ color: oklch(63.7% 0.223 311.7);
Tailwind
colors: {
  custom: {
    50: '#d08bf2',
    500: '#b756eb',
    950: '#000000',
  },
}
SCSS
$custom: #b756eb;
$custom-light: #d08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b756eb",
  "rgb": {
    "r": 183,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 279.06,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63742,
    "c": 0.22315,
    "h": 311.7
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#B756EB
secondary
#C6E9B4
accent
#DB0A53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B756EB

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

Preview Lab → · Contrast checker → · Palette generator →

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