#B16DF5#B16DF5

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

Color values

HEX#B16DF5
RGBrgb(177, 109, 245)
HSLhsl(270, 87%, 69%)
HSVhsv(270, 56%, 96%)
CMYKcmyk(27.8%, 55.5%, 0%, 3.9%)
CIE-LABlab(58.86, 52.26, -58.24)
CIE-LCHlch(58.86, 78.25, 311.90°)
OKLaboklab(66.74% 0.1135 -0.1642)
OKLCHoklch(66.74% 0.2 304.6)
XYZxyz(40.0779, 26.8772, 89.4449)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16DF5 #B1F56D
analogous
#6D6DF5 #B16DF5 #F56DF5
triadic
#B16DF5 #F5B16D #6DF5B1
tetradic
#B16DF5 #F56D6D #B1F56D #6DF5F5
square
#B16DF5 #F56D6D #B1F56D #6DF5F5
split-complementary
#B16DF5 #F5F56D #6DF56D
monochromatic
#740FD9 #9234F1 #B16DF5 #D0A6F9 #EEE0FD

Accessibility & contrast

On white

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

On black

6.38
#B16DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16DF5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16DF5#FFFFFF#000000##000000
##B16DF51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#528EF2
Tritanopia (blue-blind)
#A587A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b16df5;
/* rgb */ color: rgb(177, 109, 245);
/* oklch */ color: oklch(66.7% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#cc99f9',
    500: '#b16df5',
    950: '#000000',
  },
}
SCSS
$custom: #b16df5;
$custom-light: #cc99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b16df5",
  "rgb": {
    "r": 177,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 270,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66743,
    "c": 0.19964,
    "h": 304.6
  },
  "luminance": 0.26877
}

Semantic roles & 50–950 ramp

primary
#B16DF5
secondary
#DFF2CB
accent
#E40273
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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