#B166FF#B166FF

#B166FF is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.4% C 0.221 H 303.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B166FF
RGBrgb(177, 102, 255)
HSLhsl(269, 100%, 70%)
HSVhsv(269, 60%, 100%)
CMYKcmyk(30.6%, 60%, 0%, 0%)
CIE-LABlab(58.10, 58.16, -64.98)
CIE-LCHlch(58.10, 87.21, 311.83°)
OKLaboklab(66.38% 0.1218 -0.184)
OKLCHoklch(66.38% 0.221 303.5)
XYZxyz(40.9287, 26.0699, 97.4641)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166FF #B4FF66
analogous
#6667FF #B166FF #FE66FF
triadic
#B166FF #FFB166 #66FFB1
tetradic
#B166FF #FF6667 #B4FF66 #66FFFE
square
#B166FF #FF6667 #B4FF66 #66FFFE
split-complementary
#B166FF #FFFE66 #67FF66
monochromatic
#7300EB #9229FF #B166FF #D0A3FF #EFE0FF

Accessibility & contrast

On white

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

On black

6.21
#B166FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166FF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166FF#FFFFFF#000000##000000
##B166FF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#068AFF
Deuteranopia (green-blind)
#3E8BFC
Tritanopia (blue-blind)
#A286A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b166ff;
/* rgb */ color: rgb(177, 102, 255);
/* oklch */ color: oklch(66.4% 0.221 303.5);
Tailwind
colors: {
  custom: {
    50: '#cd95ff',
    500: '#b166ff',
    950: '#000000',
  },
}
SCSS
$custom: #b166ff;
$custom-light: #cd95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b166ff",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 269.412,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.66378,
    "c": 0.22068,
    "h": 303.5
  },
  "luminance": 0.2607
}

Semantic roles & 50–950 ramp

primary
#B166FF
secondary
#E1F6CB
accent
#E60075
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B166FF

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

Preview Lab → · Contrast checker → · Palette generator →

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