#B766F5#B766F5

#B766F5 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.4% C 0.211 H 307.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B766F5
RGBrgb(183, 102, 245)
HSLhsl(274, 88%, 68%)
HSVhsv(274, 58%, 96%)
CMYKcmyk(25.3%, 58.4%, 0%, 3.9%)
CIE-LABlab(58.19, 57.26, -59.27)
CIE-LCHlch(58.19, 82.41, 314.01°)
OKLaboklab(66.4% 0.1295 -0.1671)
OKLCHoklch(66.4% 0.211 307.8)
XYZxyz(40.7579, 26.1631, 89.2713)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766F5 #A4F566
analogous
#6F66F5 #B766F5 #F566EB
triadic
#B766F5 #F5B766 #66F5B7
tetradic
#B766F5 #F56F66 #A4F566 #66EBF5
square
#B766F5 #F56F66 #A4F566 #66EBF5
split-complementary
#B766F5 #EBF566 #66F56F
monochromatic
#7D0ED3 #9C2DF1 #B766F5 #D29FF9 #EDD9FD

Accessibility & contrast

On white

3.37
#B766F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B766F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766F5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766F5#FFFFFF#000000##000000
##B766F51.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FA
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#AE81A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b766f5;
/* rgb */ color: rgb(183, 102, 245);
/* oklch */ color: oklch(66.4% 0.211 307.8);
Tailwind
colors: {
  custom: {
    50: '#d095f9',
    500: '#b766f5',
    950: '#000000',
  },
}
SCSS
$custom: #b766f5;
$custom-light: #d095f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b766f5",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 273.986,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66403,
    "c": 0.21136,
    "h": 307.8
  },
  "luminance": 0.26163
}

Semantic roles & 50–950 ramp

primary
#B766F5
secondary
#D8F1C6
accent
#E40164
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B766F5

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

Preview Lab → · Contrast checker → · Palette generator →

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