#B766F7#B766F7

#B766F7 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.5% C 0.213 H 307.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B766F7
RGBrgb(183, 102, 247)
HSLhsl(274, 90%, 68%)
HSVhsv(274, 59%, 97%)
CMYKcmyk(25.9%, 58.7%, 0%, 3.1%)
CIE-LABlab(58.31, 57.70, -60.20)
CIE-LCHlch(58.31, 83.38, 313.79°)
OKLaboklab(66.53% 0.1295 -0.1698)
OKLCHoklch(66.53% 0.214 307.3)
XYZxyz(41.0649, 26.2859, 90.8880)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766F7 #A6F766
analogous
#6E66F7 #B766F7 #F766EF
triadic
#B766F7 #F7B766 #66F7B7
tetradic
#B766F7 #F76E66 #A6F766 #66EFF7
square
#B766F7 #F76E66 #A6F766 #66EFF7
split-complementary
#B766F7 #EFF766 #66F76E
monochromatic
#7D0BD7 #9C2CF4 #B766F7 #D2A0FA #EEDAFD

Accessibility & contrast

On white

3.36
#B766F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B766F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766F7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766F7#FFFFFF#000000##000000
##B766F71.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FC
Deuteranopia (green-blind)
#4E8DF4
Tritanopia (blue-blind)
#AD82A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b766f7;
/* rgb */ color: rgb(183, 102, 247);
/* oklch */ color: oklch(66.5% 0.213 307.3);
Tailwind
colors: {
  custom: {
    50: '#d095fa',
    500: '#b766f7',
    950: '#000000',
  },
}
SCSS
$custom: #b766f7;
$custom-light: #d095fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b766f7",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 273.517,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.2135,
    "h": 307.3
  },
  "luminance": 0.26285
}

Semantic roles & 50–950 ramp

primary
#B766F7
secondary
#DAF2C7
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B766F7

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

Preview Lab → · Contrast checker → · Palette generator →

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