#B766FE#B766FE

#B766FE is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.0% C 0.221 H 305.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B766FE
RGBrgb(183, 102, 254)
HSLhsl(272, 99%, 70%)
HSVhsv(272, 60%, 100%)
CMYKcmyk(28%, 59.8%, 0%, 0.4%)
CIE-LABlab(58.72, 59.27, -63.41)
CIE-LCHlch(58.72, 86.79, 313.07°)
OKLaboklab(66.96% 0.1293 -0.1792)
OKLCHoklch(66.96% 0.221 305.8)
XYZxyz(42.1654, 26.7261, 96.6840)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766FE #ADFE66
analogous
#6B66FE #B766FE #FE66F9
triadic
#B766FE #FEB766 #66FEB7
tetradic
#B766FE #FE6B66 #ADFE66 #66F9FE
square
#B766FE #FE6B66 #ADFE66 #66F9FE
split-complementary
#B766FE #F9FE66 #66FE6B
monochromatic
#7C02E8 #9A29FE #B766FE #D4A3FE #F0E0FF

Accessibility & contrast

On white

3.31
#B766FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B766FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766FE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766FE#FFFFFF#000000##000000
##B766FE1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#188BFF
Deuteranopia (green-blind)
#478EFB
Tritanopia (blue-blind)
#AB85A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b766fe;
/* rgb */ color: rgb(183, 102, 254);
/* oklch */ color: oklch(67.0% 0.221 305.8);
Tailwind
colors: {
  custom: {
    50: '#d195ff',
    500: '#b766fe',
    950: '#000000',
  },
}
SCSS
$custom: #b766fe;
$custom-light: #d195ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b766fe",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 271.974,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66958,
    "c": 0.221,
    "h": 305.8
  },
  "luminance": 0.26726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B766FE

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

Preview Lab → · Contrast checker → · Palette generator →

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