#B160F6#B160F6

#B160F6 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.0% C 0.219 H 306.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B160F6
RGBrgb(177, 96, 246)
HSLhsl(272, 89%, 67%)
HSVhsv(272, 61%, 96%)
CMYKcmyk(28%, 61%, 0%, 3.5%)
CIE-LABlab(56.45, 59.07, -62.65)
CIE-LCHlch(56.45, 86.11, 313.31°)
OKLaboklab(65% 0.1291 -0.1771)
OKLCHoklch(65% 0.219 306.1)
XYZxyz(38.9453, 24.3670, 89.8225)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160F6 #A5F660
analogous
#6660F6 #B160F6 #F660F0
triadic
#B160F6 #F6B160 #60F6B1
tetradic
#B160F6 #F66660 #A5F660 #60F0F6
square
#B160F6 #F66660 #A5F660 #60F0F6
split-complementary
#B160F6 #F0F660 #60F666
monochromatic
#760CD0 #9526F3 #B160F6 #CD9AF9 #EAD4FD

Accessibility & contrast

On white

3.58
#B160F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#B160F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160F6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160F6#FFFFFF#000000##000000
##B160F61.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0485FB
Deuteranopia (green-blind)
#4188F3
Tritanopia (blue-blind)
#A57FA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b160f6;
/* rgb */ color: rgb(177, 96, 246);
/* oklch */ color: oklch(65.0% 0.219 306.1);
Tailwind
colors: {
  custom: {
    50: '#cc91fa',
    500: '#b160f6',
    950: '#000000',
  },
}
SCSS
$custom: #b160f6;
$custom-light: #cc91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b160f6",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 272.4,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65004,
    "c": 0.21917,
    "h": 306.1
  },
  "luminance": 0.24367
}

Semantic roles & 50–950 ramp

primary
#B160F6
secondary
#D7F1C1
accent
#E6006A
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B160F6

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

Preview Lab → · Contrast checker → · Palette generator →

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