#B766EB#B766EB

#B766EB is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.8% C 0.201 H 310.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B766EB
RGBrgb(183, 102, 235)
HSLhsl(277, 77%, 66%)
HSVhsv(277, 57%, 92%)
CMYKcmyk(22.1%, 56.6%, 0%, 7.8%)
CIE-LABlab(57.63, 55.06, -54.61)
CIE-LCHlch(57.63, 77.55, 315.23°)
OKLaboklab(65.81% 0.1293 -0.1534)
OKLCHoklch(65.81% 0.201 310.1)
XYZxyz(39.2724, 25.5689, 81.4476)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766EB #9AEB66
analogous
#7466EB #B766EB #EB66DD
triadic
#B766EB #EBB766 #66EBB7
tetradic
#B766EB #EB7466 #9AEB66 #66DDEB
square
#B766EB #EB7466 #9AEB66 #66DDEB
split-complementary
#B766EB #DDEB66 #66EB74
monochromatic
#7D19BE #9E30E4 #B766EB #D09CF2 #EAD2F9

Accessibility & contrast

On white

3.43
#B766EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B766EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766EB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766EB#FFFFFF#000000##000000
##B766EB1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#B07E9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b766eb;
/* rgb */ color: rgb(183, 102, 235);
/* oklch */ color: oklch(65.8% 0.201 310.1);
Tailwind
colors: {
  custom: {
    50: '#d095f2',
    500: '#b766eb',
    950: '#000000',
  },
}
SCSS
$custom: #b766eb;
$custom-light: #d095f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b766eb",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 276.541,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65807,
    "c": 0.20065,
    "h": 310.1
  },
  "luminance": 0.25568
}

Semantic roles & 50–950 ramp

primary
#B766EB
secondary
#D2ECC1
accent
#D90C5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B766EB

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

Preview Lab → · Contrast checker → · Palette generator →

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