#B16FEF#B16FEF

#B16FEF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.190 H 305.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B16FEF
RGBrgb(177, 111, 239)
HSLhsl(271, 80%, 69%)
HSVhsv(271, 54%, 94%)
CMYKcmyk(25.9%, 53.6%, 0%, 6.3%)
CIE-LABlab(58.93, 49.83, -54.81)
CIE-LCHlch(58.93, 74.07, 312.28°)
OKLaboklab(66.68% 0.1107 -0.1542)
OKLCHoklch(66.68% 0.19 305.7)
XYZxyz(39.3926, 26.9483, 84.7709)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16FEF #ADEF6F
analogous
#716FEF #B16FEF #EF6FED
triadic
#B16FEF #EFB16F #6FEFB1
tetradic
#B16FEF #EF716F #ADEF6F #6FEDEF
square
#B16FEF #EF716F #ADEF6F #6FEDEF
split-complementary
#B16FEF #EDEF6F #6FEF71
monochromatic
#7517CD #9338E9 #B16FEF #CFA6F5 #EDDDFB

Accessibility & contrast

On white

3.29
#B16FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B16FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16FEF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16FEF#FFFFFF#000000##000000
##B16FEF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#5A8EEC
Tritanopia (blue-blind)
#A787A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b16fef;
/* rgb */ color: rgb(177, 111, 239);
/* oklch */ color: oklch(66.7% 0.190 305.7);
Tailwind
colors: {
  custom: {
    50: '#cb9af5',
    500: '#b16fef',
    950: '#000000',
  },
}
SCSS
$custom: #b16fef;
$custom-light: #cb9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#b16fef",
  "rgb": {
    "r": 177,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 270.938,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66683,
    "c": 0.18983,
    "h": 305.7
  },
  "luminance": 0.26948
}

Semantic roles & 50–950 ramp

primary
#B16FEF
secondary
#DCF0CA
accent
#DC096F
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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