#B766F9#B766F9

#B766F9 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.6% C 0.216 H 306.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B766F9
RGBrgb(183, 102, 249)
HSLhsl(273, 92%, 69%)
HSVhsv(273, 59%, 98%)
CMYKcmyk(26.5%, 59%, 0%, 2.4%)
CIE-LABlab(58.42, 58.15, -61.12)
CIE-LCHlch(58.42, 84.36, 313.57°)
OKLaboklab(66.65% 0.1294 -0.1725)
OKLCHoklch(66.65% 0.216 306.9)
XYZxyz(41.3751, 26.4100, 92.5221)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766F9 #A8F966
analogous
#6E66F9 #B766F9 #F966F2
triadic
#B766F9 #F9B766 #66F9B7
tetradic
#B766F9 #F96E66 #A8F966 #66F2F9
square
#B766F9 #F96E66 #A8F966 #66F2F9
split-complementary
#B766F9 #F2F966 #66F96E
monochromatic
#7D09DC #9B2BF7 #B766F9 #D3A1FB #EEDCFE

Accessibility & contrast

On white

3.34
#B766F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B766F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766F9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766F9#FFFFFF#000000##000000
##B766F91.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#248AFE
Deuteranopia (green-blind)
#4C8DF6
Tritanopia (blue-blind)
#AC83A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b766f9;
/* rgb */ color: rgb(183, 102, 249);
/* oklch */ color: oklch(66.6% 0.216 306.9);
Tailwind
colors: {
  custom: {
    50: '#d095fc',
    500: '#b766f9',
    950: '#000000',
  },
}
SCSS
$custom: #b766f9;
$custom-light: #d095fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b766f9",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 273.061,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66647,
    "c": 0.21564,
    "h": 306.9
  },
  "luminance": 0.2641
}

Semantic roles & 50–950 ramp

primary
#B766F9
secondary
#DBF3C8
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B766F9

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

Preview Lab → · Contrast checker → · Palette generator →

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