#B766F0#B766F0

#B766F0 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.206 H 308.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B766F0
RGBrgb(183, 102, 240)
HSLhsl(275, 82%, 67%)
HSVhsv(275, 58%, 94%)
CMYKcmyk(23.8%, 57.5%, 0%, 5.9%)
CIE-LABlab(57.91, 56.15, -56.95)
CIE-LCHlch(57.91, 79.98, 314.59°)
OKLaboklab(66.1% 0.1294 -0.1603)
OKLCHoklch(66.1% 0.206 308.9)
XYZxyz(40.0049, 25.8619, 85.3056)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766F0 #9FF066
analogous
#7266F0 #B766F0 #F066E4
triadic
#B766F0 #F0B766 #66F0B7
tetradic
#B766F0 #F07266 #9FF066 #66E4F0
square
#B766F0 #F07266 #9FF066 #66E4F0
split-complementary
#B766F0 #E4F066 #66F072
monochromatic
#7D14C8 #9D2EEB #B766F0 #D19EF5 #EBD5FB

Accessibility & contrast

On white

3.40
#B766F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B766F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766F0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766F0#FFFFFF#000000##000000
##B766F01.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3388F4
Deuteranopia (green-blind)
#548CED
Tritanopia (blue-blind)
#AF80A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b766f0;
/* rgb */ color: rgb(183, 102, 240);
/* oklch */ color: oklch(66.1% 0.206 308.9);
Tailwind
colors: {
  custom: {
    50: '#d095f6',
    500: '#b766f0',
    950: '#000000',
  },
}
SCSS
$custom: #b766f0;
$custom-light: #d095f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b766f0",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 275.217,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66102,
    "c": 0.206,
    "h": 308.9
  },
  "luminance": 0.25861
}

Semantic roles & 50–950 ramp

primary
#B766F0
secondary
#D5EFC3
accent
#DF0760
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B766F0

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

Preview Lab → · Contrast checker → · Palette generator →

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