#B166CF#B166CF

#B166CF is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.6% C 0.168 H 315.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B166CF
RGBrgb(177, 102, 207)
HSLhsl(283, 52%, 61%)
HSVhsv(283, 51%, 81%)
CMYKcmyk(14.5%, 50.7%, 0%, 18.8%)
CIE-LABlab(55.44, 47.52, -42.36)
CIE-LCHlch(55.44, 63.66, 318.28°)
OKLaboklab(63.56% 0.1201 -0.1179)
OKLCHoklch(63.56% 0.168 315.5)
XYZxyz(34.1436, 23.3559, 61.7289)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166CF #84CF66
analogous
#7C66CF #B166CF #CF66B8
triadic
#B166CF #CFB166 #66CFB1
tetradic
#B166CF #CF7C66 #84CF66 #66B8CF
square
#B166CF #CF7C66 #84CF66 #66B8CF
split-complementary
#B166CF #B8CF66 #66CF7C
monochromatic
#722D8E #983BBD #B166CF #C995DE #E0C3EC

Accessibility & contrast

On white

3.70
#B166CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B166CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166CF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166CF#FFFFFF#000000##000000
##B166CF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D3
Deuteranopia (green-blind)
#6687CC
Tritanopia (blue-blind)
#AF7691
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b166cf;
/* rgb */ color: rgb(177, 102, 207);
/* oklch */ color: oklch(63.6% 0.168 315.5);
Tailwind
colors: {
  custom: {
    50: '#ca94de',
    500: '#b166cf',
    950: '#000000',
  },
}
SCSS
$custom: #b166cf;
$custom-light: #ca94de;
$custom-dark: #000000;
JSON
{
  "hex": "#b166cf",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 282.857,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63563,
    "c": 0.16827,
    "h": 315.5
  },
  "luminance": 0.23355
}

Semantic roles & 50–950 ramp

primary
#B166CF
secondary
#C0DCB4
accent
#C02652
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B166CF

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

Preview Lab → · Contrast checker → · Palette generator →

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