#B766FD#B766FD

#B766FD is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.9% C 0.220 H 306.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B766FD
RGBrgb(183, 102, 253)
HSLhsl(272, 97%, 70%)
HSVhsv(272, 60%, 99%)
CMYKcmyk(27.7%, 59.7%, 0%, 0.8%)
CIE-LABlab(58.66, 59.04, -62.95)
CIE-LCHlch(58.66, 86.31, 313.17°)
OKLaboklab(66.9% 0.1294 -0.1779)
OKLCHoklch(66.9% 0.22 306)
XYZxyz(42.0056, 26.6622, 95.8429)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766FD #ACFD66
analogous
#6B66FD #B766FD #FD66F8
triadic
#B766FD #FDB766 #66FDB7
tetradic
#B766FD #FD6B66 #ACFD66 #66F8FD
square
#B766FD #FD6B66 #ACFD66 #66F8FD
split-complementary
#B766FD #F8FD66 #66FD6B
monochromatic
#7D03E6 #9B2AFC #B766FD #D3A2FE #F0DFFF

Accessibility & contrast

On white

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

On black

6.33
#B766FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766FD
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766FD#FFFFFF#000000##000000
##B766FD1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B8AFF
Deuteranopia (green-blind)
#488EFA
Tritanopia (blue-blind)
#AB84A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b766fd;
/* rgb */ color: rgb(183, 102, 253);
/* oklch */ color: oklch(66.9% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#d195ff',
    500: '#b766fd',
    950: '#000000',
  },
}
SCSS
$custom: #b766fd;
$custom-light: #d195ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b766fd",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 272.185,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66895,
    "c": 0.21993,
    "h": 306
  },
  "luminance": 0.26662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B766FD

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

Preview Lab → · Contrast checker → · Palette generator →

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