#B766FB#B766FB

#B766FB is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.8% C 0.218 H 306.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B766FB
RGBrgb(183, 102, 251)
HSLhsl(273, 95%, 69%)
HSVhsv(273, 59%, 98%)
CMYKcmyk(27.1%, 59.4%, 0%, 1.6%)
CIE-LABlab(58.54, 58.59, -62.03)
CIE-LCHlch(58.54, 85.33, 313.37°)
OKLaboklab(66.77% 0.1294 -0.1752)
OKLCHoklch(66.77% 0.218 306.5)
XYZxyz(41.6887, 26.5355, 94.1737)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766FB #AAFB66
analogous
#6D66FB #B766FB #FB66F5
triadic
#B766FB #FBB766 #66FBB7
tetradic
#B766FB #FB6D66 #AAFB66 #66F5FB
square
#B766FB #FB6D66 #AAFB66 #66F5FB
split-complementary
#B766FB #F5FB66 #66FB6D
monochromatic
#7D06E1 #9B2AF9 #B766FB #D3A2FD #EFDDFE

Accessibility & contrast

On white

3.33
#B766FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B766FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766FB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766FB#FFFFFF#000000##000000
##B766FB1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#208AFF
Deuteranopia (green-blind)
#4A8DF8
Tritanopia (blue-blind)
#AC84A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b766fb;
/* rgb */ color: rgb(183, 102, 251);
/* oklch */ color: oklch(66.8% 0.218 306.5);
Tailwind
colors: {
  custom: {
    50: '#d095fd',
    500: '#b766fb',
    950: '#000000',
  },
}
SCSS
$custom: #b766fb;
$custom-light: #d095fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b766fb",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 272.617,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66771,
    "c": 0.21778,
    "h": 306.5
  },
  "luminance": 0.26535
}

Semantic roles & 50–950 ramp

primary
#B766FB
secondary
#DDF4C9
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B766FB

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

Preview Lab → · Contrast checker → · Palette generator →

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