#B766F2#B766F2

#B766F2 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.2% C 0.208 H 308.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B766F2
RGBrgb(183, 102, 242)
HSLhsl(275, 84%, 67%)
HSVhsv(275, 58%, 95%)
CMYKcmyk(24.4%, 57.9%, 0%, 5.1%)
CIE-LABlab(58.02, 56.59, -57.88)
CIE-LCHlch(58.02, 80.95, 314.35°)
OKLaboklab(66.22% 0.1294 -0.163)
OKLCHoklch(66.22% 0.208 308.5)
XYZxyz(40.3036, 25.9814, 86.8789)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766F2 #A1F266
analogous
#7166F2 #B766F2 #F266E7
triadic
#B766F2 #F2B766 #66F2B7
tetradic
#B766F2 #F27166 #A1F266 #66E7F2
square
#B766F2 #F27166 #A1F266 #66E7F2
split-complementary
#B766F2 #E7F266 #66F271
monochromatic
#7D11CC #9C2EED #B766F2 #D29EF7 #ECD7FC

Accessibility & contrast

On white

3.39
#B766F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B766F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766F2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766F2#FFFFFF#000000##000000
##B766F21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F7
Deuteranopia (green-blind)
#538CEF
Tritanopia (blue-blind)
#AE80A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b766f2;
/* rgb */ color: rgb(183, 102, 242);
/* oklch */ color: oklch(66.2% 0.208 308.5);
Tailwind
colors: {
  custom: {
    50: '#d095f7',
    500: '#b766f2',
    950: '#000000',
  },
}
SCSS
$custom: #b766f2;
$custom-light: #d095f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b766f2",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 274.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66222,
    "c": 0.20814,
    "h": 308.5
  },
  "luminance": 0.25981
}

Semantic roles & 50–950 ramp

primary
#B766F2
secondary
#D6F0C4
accent
#E10561
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B766F2

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

Preview Lab → · Contrast checker → · Palette generator →

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