#B160F5#B160F5

#B160F5 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.9% C 0.218 H 306.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B160F5
RGBrgb(177, 96, 245)
HSLhsl(273, 88%, 67%)
HSVhsv(273, 61%, 96%)
CMYKcmyk(27.8%, 60.8%, 0%, 3.9%)
CIE-LABlab(56.39, 58.85, -62.20)
CIE-LCHlch(56.39, 85.62, 313.42°)
OKLaboklab(64.94% 0.1291 -0.1758)
OKLCHoklch(64.94% 0.218 306.3)
XYZxyz(38.7923, 24.3058, 89.0164)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160F5 #A4F560
analogous
#6660F5 #B160F5 #F560EF
triadic
#B160F5 #F5B160 #60F5B1
tetradic
#B160F5 #F56660 #A4F560 #60EFF5
square
#B160F5 #F56660 #A4F560 #60EFF5
split-complementary
#B160F5 #EFF560 #60F566
monochromatic
#760DCE #9526F1 #B160F5 #CD9AF9 #E9D3FC

Accessibility & contrast

On white

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

On black

5.86
#B160F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160F5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160F5#FFFFFF#000000##000000
##B160F51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A85FA
Deuteranopia (green-blind)
#4288F2
Tritanopia (blue-blind)
#A67EA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b160f5;
/* rgb */ color: rgb(177, 96, 245);
/* oklch */ color: oklch(64.9% 0.218 306.3);
Tailwind
colors: {
  custom: {
    50: '#cc91f9',
    500: '#b160f5',
    950: '#000000',
  },
}
SCSS
$custom: #b160f5;
$custom-light: #cc91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b160f5",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 272.617,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64941,
    "c": 0.21811,
    "h": 306.3
  },
  "luminance": 0.24305
}

Semantic roles & 50–950 ramp

primary
#B160F5
secondary
#D6F0C1
accent
#E50169
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B160F5

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

Preview Lab → · Contrast checker → · Palette generator →

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