#B766EF#B766EF

#B766EF is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.205 H 309.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B766EF
RGBrgb(183, 102, 239)
HSLhsl(275, 81%, 67%)
HSVhsv(275, 57%, 94%)
CMYKcmyk(23.4%, 57.3%, 0%, 6.3%)
CIE-LABlab(57.85, 55.93, -56.48)
CIE-LCHlch(57.85, 79.49, 314.72°)
OKLaboklab(66.04% 0.1294 -0.1589)
OKLCHoklch(66.04% 0.205 309.2)
XYZxyz(39.8568, 25.8027, 84.5254)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766EF #9EEF66
analogous
#7366EF #B766EF #EF66E3
triadic
#B766EF #EFB766 #66EFB7
tetradic
#B766EF #EF7366 #9EEF66 #66E3EF
square
#B766EF #EF7366 #9EEF66 #66E3EF
split-complementary
#B766EF #E3EF66 #66EF73
monochromatic
#7D15C6 #9D2FE9 #B766EF #D19DF5 #EBD5FB

Accessibility & contrast

On white

3.41
#B766EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B766EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766EF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766EF#FFFFFF#000000##000000
##B766EF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#AF7FA1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b766ef;
/* rgb */ color: rgb(183, 102, 239);
/* oklch */ color: oklch(66.0% 0.205 309.2);
Tailwind
colors: {
  custom: {
    50: '#d095f5',
    500: '#b766ef',
    950: '#000000',
  },
}
SCSS
$custom: #b766ef;
$custom-light: #d095f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b766ef",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 275.474,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66043,
    "c": 0.20493,
    "h": 309.2
  },
  "luminance": 0.25802
}

Semantic roles & 50–950 ramp

primary
#B766EF
secondary
#D4EEC2
accent
#DD085F
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B766EF

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

Preview Lab → · Contrast checker → · Palette generator →

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