#B16CF2#B16CF2

#B16CF2 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.4% C 0.198 H 305.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B16CF2
RGBrgb(177, 108, 242)
HSLhsl(271, 84%, 69%)
HSVhsv(271, 55%, 95%)
CMYKcmyk(26.9%, 55.4%, 0%, 5.1%)
CIE-LABlab(58.49, 52.09, -57.16)
CIE-LCHlch(58.49, 77.34, 312.34°)
OKLaboklab(66.42% 0.1146 -0.1611)
OKLCHoklch(66.42% 0.198 305.4)
XYZxyz(39.5176, 26.4833, 87.0171)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16CF2 #ADF26C
analogous
#6E6CF2 #B16CF2 #F26CF0
triadic
#B16CF2 #F2B16C #6CF2B1
tetradic
#B16CF2 #F26E6C #ADF26C #6CF0F2
square
#B16CF2 #F26E6C #ADF26C #6CF0F2
split-complementary
#B16CF2 #F0F26C #6CF26E
monochromatic
#7512D1 #9334ED #B16CF2 #CFA4F7 #EDDCFC

Accessibility & contrast

On white

3.34
#B16CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B16CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16CF2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16CF2#FFFFFF#000000##000000
##B16CF21.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#A685A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b16cf2;
/* rgb */ color: rgb(177, 108, 242);
/* oklch */ color: oklch(66.4% 0.198 305.4);
Tailwind
colors: {
  custom: {
    50: '#cc98f7',
    500: '#b16cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b16cf2;
$custom-light: #cc98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b16cf2",
  "rgb": {
    "r": 177,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 270.896,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66418,
    "c": 0.19771,
    "h": 305.4
  },
  "luminance": 0.26483
}

Semantic roles & 50–950 ramp

primary
#B16CF2
secondary
#DCF1C9
accent
#E0056F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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