#B166FD#B166FD

#B166FD is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.3% C 0.218 H 303.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B166FD
RGBrgb(177, 102, 253)
HSLhsl(270, 97%, 70%)
HSVhsv(270, 60%, 99%)
CMYKcmyk(30%, 59.7%, 0%, 0.8%)
CIE-LABlab(57.98, 57.70, -64.08)
CIE-LCHlch(57.98, 86.22, 312.00°)
OKLaboklab(66.25% 0.1219 -0.1813)
OKLCHoklch(66.25% 0.218 303.9)
XYZxyz(40.6085, 25.9418, 95.7774)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166FD #B2FD66
analogous
#6667FD #B166FD #FC66FD
triadic
#B166FD #FDB166 #66FDB1
tetradic
#B166FD #FD6667 #B2FD66 #66FDFC
square
#B166FD #FD6667 #B2FD66 #66FDFC
split-complementary
#B166FD #FDFC66 #67FD66
monochromatic
#7403E6 #922AFC #B166FD #D0A2FE #EFDFFF

Accessibility & contrast

On white

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

On black

6.19
#B166FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166FD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166FD#FFFFFF#000000##000000
##B166FD1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#118AFF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#A385A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b166fd;
/* rgb */ color: rgb(177, 102, 253);
/* oklch */ color: oklch(66.3% 0.218 303.9);
Tailwind
colors: {
  custom: {
    50: '#cd95ff',
    500: '#b166fd',
    950: '#000000',
  },
}
SCSS
$custom: #b166fd;
$custom-light: #cd95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b166fd",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 269.801,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66251,
    "c": 0.21849,
    "h": 303.9
  },
  "luminance": 0.25942
}

Semantic roles & 50–950 ramp

primary
#B166FD
secondary
#E0F5CA
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B166FD

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

Preview Lab → · Contrast checker → · Palette generator →

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