#B16DF2#B16DF2

#B16DF2 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.6% C 0.196 H 305.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B16DF2
RGBrgb(177, 109, 242)
HSLhsl(271, 84%, 69%)
HSVhsv(271, 55%, 95%)
CMYKcmyk(26.9%, 55%, 0%, 5.1%)
CIE-LABlab(58.69, 51.57, -56.85)
CIE-LCHlch(58.69, 76.75, 312.21°)
OKLaboklab(66.56% 0.1134 -0.1602)
OKLCHoklch(66.56% 0.196 305.3)
XYZxyz(39.6237, 26.6954, 87.0525)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16DF2 #AEF26D
analogous
#6F6DF2 #B16DF2 #F26DF0
triadic
#B16DF2 #F2B16D #6DF2B1
tetradic
#B16DF2 #F26F6D #AEF26D #6DF0F2
square
#B16DF2 #F26F6D #AEF26D #6DF0F2
split-complementary
#B16DF2 #F0F26D #6DF26F
monochromatic
#7413D2 #9335ED #B16DF2 #CFA5F7 #EDDDFC

Accessibility & contrast

On white

3.31
#B16DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B16DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16DF2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16DF2#FFFFFF#000000##000000
##B16DF21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#558DEF
Tritanopia (blue-blind)
#A686A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b16df2;
/* rgb */ color: rgb(177, 109, 242);
/* oklch */ color: oklch(66.6% 0.196 305.3);
Tailwind
colors: {
  custom: {
    50: '#cc99f7',
    500: '#b16df2',
    950: '#000000',
  },
}
SCSS
$custom: #b16df2;
$custom-light: #cc99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b16df2",
  "rgb": {
    "r": 177,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 270.677,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.19624,
    "h": 305.3
  },
  "luminance": 0.26695
}

Semantic roles & 50–950 ramp

primary
#B16DF2
secondary
#DDF1CA
accent
#E00570
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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