#B16FF5#B16FF5

#B16FF5 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.197 H 304.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B16FF5
RGBrgb(177, 111, 245)
HSLhsl(270, 87%, 70%)
HSVhsv(270, 55%, 96%)
CMYKcmyk(27.8%, 54.7%, 0%, 3.9%)
CIE-LABlab(59.26, 51.22, -57.60)
CIE-LCHlch(59.26, 77.08, 311.64°)
OKLaboklab(67.04% 0.111 -0.1624)
OKLCHoklch(67.04% 0.197 304.4)
XYZxyz(40.2937, 27.3087, 89.5169)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16FF5 #B3F56F
analogous
#6F70F5 #B16FF5 #F46FF5
triadic
#B16FF5 #F5B16F #6FF5B1
tetradic
#B16FF5 #F56F70 #B3F56F #6FF5F4
square
#B16FF5 #F56F70 #B3F56F #6FF5F4
split-complementary
#B16FF5 #F5F46F #70F56F
monochromatic
#730FDA #9236F1 #B16FF5 #D0A8F9 #EFE1FD

Accessibility & contrast

On white

3.25
#B16FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B16FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16FF5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16FF5#FFFFFF#000000##000000
##B16FF51.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DF9
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#A589A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b16ff5;
/* rgb */ color: rgb(177, 111, 245);
/* oklch */ color: oklch(67.0% 0.197 304.4);
Tailwind
colors: {
  custom: {
    50: '#cc9af9',
    500: '#b16ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b16ff5;
$custom-light: #cc9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#b16ff5",
  "rgb": {
    "r": 177,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 269.552,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67036,
    "c": 0.1967,
    "h": 304.4
  },
  "luminance": 0.27309
}

Semantic roles & 50–950 ramp

primary
#B16FF5
secondary
#E0F3CD
accent
#E40274
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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