#B766FC#B766FC

#B766FC is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.8% C 0.219 H 306.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B766FC
RGBrgb(183, 102, 252)
HSLhsl(272, 96%, 69%)
HSVhsv(272, 60%, 99%)
CMYKcmyk(27.4%, 59.5%, 0%, 1.2%)
CIE-LABlab(58.60, 58.82, -62.49)
CIE-LCHlch(58.60, 85.82, 313.27°)
OKLaboklab(66.83% 0.1294 -0.1765)
OKLCHoklch(66.83% 0.219 306.2)
XYZxyz(41.8468, 26.5987, 95.0061)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766FC #ABFC66
analogous
#6C66FC #B766FC #FC66F6
triadic
#B766FC #FCB766 #66FCB7
tetradic
#B766FC #FC6C66 #ABFC66 #66F6FC
square
#B766FC #FC6C66 #ABFC66 #66F6FC
split-complementary
#B766FC #F6FC66 #66FC6C
monochromatic
#7D04E3 #9B2AFB #B766FC #D3A2FD #EFDEFE

Accessibility & contrast

On white

3.32
#B766FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B766FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766FC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766FC#FFFFFF#000000##000000
##B766FC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#498DF9
Tritanopia (blue-blind)
#AC84A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b766fc;
/* rgb */ color: rgb(183, 102, 252);
/* oklch */ color: oklch(66.8% 0.219 306.2);
Tailwind
colors: {
  custom: {
    50: '#d195fe',
    500: '#b766fc',
    950: '#000000',
  },
}
SCSS
$custom: #b766fc;
$custom-light: #d195fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b766fc",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 272.4,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66833,
    "c": 0.21886,
    "h": 306.2
  },
  "luminance": 0.26598
}

Semantic roles & 50–950 ramp

primary
#B766FC
secondary
#DDF5C9
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B766FC

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

Preview Lab → · Contrast checker → · Palette generator →

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