#B66FF7#B66FF7

#B66FF7 is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.7% C 0.200 H 305.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B66FF7
RGBrgb(182, 111, 247)
HSLhsl(271, 89%, 70%)
HSVhsv(271, 55%, 97%)
CMYKcmyk(26.3%, 55.1%, 0%, 3.1%)
CIE-LABlab(59.92, 52.89, -57.63)
CIE-LCHlch(59.92, 78.22, 312.54°)
OKLaboklab(67.68% 0.1172 -0.1623)
OKLCHoklch(67.68% 0.2 305.8)
XYZxyz(41.7608, 28.0297, 91.1879)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66FF7 #B0F76F
analogous
#726FF7 #B66FF7 #F76FF4
triadic
#B66FF7 #F7B66F #6FF7B6
tetradic
#B66FF7 #F7726F #B0F76F #6FF4F7
square
#B66FF7 #F7726F #B0F76F #6FF4F7
split-complementary
#B66FF7 #F4F76F #6FF772
monochromatic
#7A0CDF #9935F4 #B66FF7 #D3A9FA #F0E2FD

Accessibility & contrast

On white

3.18
#B66FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B66FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66FF7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66FF7#FFFFFF#000000##000000
##B66FF71.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#AB89A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b66ff7;
/* rgb */ color: rgb(182, 111, 247);
/* oklch */ color: oklch(67.7% 0.200 305.8);
Tailwind
colors: {
  custom: {
    50: '#cf9bfa',
    500: '#b66ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b66ff7;
$custom-light: #cf9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b66ff7",
  "rgb": {
    "r": 182,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 271.324,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67677,
    "c": 0.20021,
    "h": 305.8
  },
  "luminance": 0.28029
}

Semantic roles & 50–950 ramp

primary
#B66FF7
secondary
#E0F4CE
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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