#B756EC#B756EC

#B756EC is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.8% C 0.224 H 311.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B756EC
RGBrgb(183, 86, 236)
HSLhsl(279, 80%, 63%)
HSVhsv(279, 64%, 93%)
CMYKcmyk(22.5%, 63.6%, 0%, 7.5%)
CIE-LABlab(54.84, 62.96, -59.62)
CIE-LCHlch(54.84, 86.71, 316.56°)
OKLaboklab(63.81% 0.1484 -0.168)
OKLCHoklch(63.81% 0.224 311.4)
XYZxyz(37.9938, 22.7799, 81.7361)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B756EC #8BEC56
analogous
#6C56EC #B756EC #EC56D6
triadic
#B756EC #ECB756 #56ECB7
tetradic
#B756EC #EC6C56 #8BEC56 #56D6EC
square
#B756EC #EC6C56 #8BEC56 #56D6EC
split-complementary
#B756EC #D6EC56 #56EC6C
monochromatic
#7B14B3 #A01FE6 #B756EC #CE8DF2 #E6C4F8

Accessibility & contrast

On white

3.78
#B756EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B756EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B756EC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B756EC#FFFFFF#000000##000000
##B756EC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#B1749A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b756ec;
/* rgb */ color: rgb(183, 86, 236);
/* oklch */ color: oklch(63.8% 0.224 311.4);
Tailwind
colors: {
  custom: {
    50: '#d08bf3',
    500: '#b756ec',
    950: '#000000',
  },
}
SCSS
$custom: #b756ec;
$custom-light: #d08bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b756ec",
  "rgb": {
    "r": 183,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 278.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63805,
    "c": 0.22415,
    "h": 311.4
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#B756EC
secondary
#C7EAB4
accent
#DC0954
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B756EC

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

Preview Lab → · Contrast checker → · Palette generator →

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