#B766F4#B766F4

#B766F4 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.210 H 308.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B766F4
RGBrgb(183, 102, 244)
HSLhsl(274, 87%, 68%)
HSVhsv(274, 58%, 96%)
CMYKcmyk(25%, 58.2%, 0%, 4.3%)
CIE-LABlab(58.13, 57.03, -58.81)
CIE-LCHlch(58.13, 81.92, 314.12°)
OKLaboklab(66.34% 0.1295 -0.1657)
OKLCHoklch(66.34% 0.21 308)
XYZxyz(40.6056, 26.1022, 88.4695)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B766F4 #A3F466
analogous
#7066F4 #B766F4 #F466EA
triadic
#B766F4 #F4B766 #66F4B7
tetradic
#B766F4 #F47066 #A3F466 #66EAF4
square
#B766F4 #F47066 #A3F466 #66EAF4
split-complementary
#B766F4 #EAF466 #66F470
monochromatic
#7D0FD1 #9C2DF0 #B766F4 #D29FF8 #EDD8FC

Accessibility & contrast

On white

3.38
#B766F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B766F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B766F4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B766F4#FFFFFF#000000##000000
##B766F41.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89F9
Deuteranopia (green-blind)
#518DF1
Tritanopia (blue-blind)
#AE81A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b766f4;
/* rgb */ color: rgb(183, 102, 244);
/* oklch */ color: oklch(66.3% 0.210 308.0);
Tailwind
colors: {
  custom: {
    50: '#d095f8',
    500: '#b766f4',
    950: '#000000',
  },
}
SCSS
$custom: #b766f4;
$custom-light: #d095f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b766f4",
  "rgb": {
    "r": 183,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 274.225,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66343,
    "c": 0.21029,
    "h": 308
  },
  "luminance": 0.26102
}

Semantic roles & 50–950 ramp

primary
#B766F4
secondary
#D8F1C5
accent
#E30263
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B766F4

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

Preview Lab → · Contrast checker → · Palette generator →

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