#B766EA#B766EA

#B766EA is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.7% C 0.200 H 310.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B766EA
RGBrgb(183, 102, 234)
HSLhsl(277, 76%, 66%)
HSVhsv(277, 56%, 92%)
CMYKcmyk(21.8%, 56.4%, 0%, 8.2%)
CIE-LABlab(57.57, 54.84, -54.14)
CIE-LCHlch(57.57, 77.06, 315.37°)
OKLaboklab(65.75% 0.1293 -0.1521)
OKLCHoklch(65.75% 0.2 310.4)
XYZxyz(39.1283, 25.5113, 80.6889)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766EA #99EA66
analogous
#7566EA #B766EA #EA66DB
triadic
#B766EA #EAB766 #66EAB7
tetradic
#B766EA #EA7566 #99EA66 #66DBEA
square
#B766EA #EA7566 #99EA66 #66DBEA
split-complementary
#B766EA #DBEA66 #66EA75
monochromatic
#7D1ABC #9E30E3 #B766EA #D09CF1 #EAD2F9

Accessibility & contrast

On white

3.44
#B766EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B766EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766EA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766EA#FFFFFF#000000##000000
##B766EA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EE
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#B17E9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b766ea;
/* rgb */ color: rgb(183, 102, 234);
/* oklch */ color: oklch(65.7% 0.200 310.4);
Tailwind
colors: {
  custom: {
    50: '#d095f1',
    500: '#b766ea',
    950: '#000000',
  },
}
SCSS
$custom: #b766ea;
$custom-light: #d095f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b766ea",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 276.818,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.19958,
    "h": 310.4
  },
  "luminance": 0.25511
}

Semantic roles & 50–950 ramp

primary
#B766EA
secondary
#D1ECC0
accent
#D80D5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B766EA

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

Preview Lab → · Contrast checker → · Palette generator →

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