#B160F1#B160F1

#B160F1 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.7% C 0.214 H 307.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B160F1
RGBrgb(177, 96, 241)
HSLhsl(274, 84%, 66%)
HSVhsv(274, 60%, 95%)
CMYKcmyk(26.6%, 60.2%, 0%, 5.5%)
CIE-LABlab(56.15, 57.95, -60.36)
CIE-LCHlch(56.15, 83.67, 313.83°)
OKLaboklab(64.69% 0.1292 -0.1704)
OKLCHoklch(64.69% 0.214 307.2)
XYZxyz(38.1882, 24.0642, 85.8351)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160F1 #A0F160
analogous
#6860F1 #B160F1 #F160E9
triadic
#B160F1 #F1B160 #60F1B1
tetradic
#B160F1 #F16860 #A0F160 #60E9F1
square
#B160F1 #F16860 #A0F160 #60E9F1
split-complementary
#B160F1 #E9F160 #60F168
monochromatic
#7611C5 #9528EC #B160F1 #CD98F6 #E8D0FB

Accessibility & contrast

On white

3.61
#B160F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B160F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160F1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160F1#FFFFFF#000000##000000
##B160F11.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1984F6
Deuteranopia (green-blind)
#4687EE
Tritanopia (blue-blind)
#A77DA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b160f1;
/* rgb */ color: rgb(177, 96, 241);
/* oklch */ color: oklch(64.7% 0.214 307.2);
Tailwind
colors: {
  custom: {
    50: '#cc91f6',
    500: '#b160f1',
    950: '#000000',
  },
}
SCSS
$custom: #b160f1;
$custom-light: #cc91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b160f1",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 241
  },
  "hsl": {
    "h": 273.517,
    "s": 83.815,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64689,
    "c": 0.21384,
    "h": 307.2
  },
  "luminance": 0.24064
}

Semantic roles & 50–950 ramp

primary
#B160F1
secondary
#D4EEBF
accent
#E00566
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B160F1

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

Preview Lab → · Contrast checker → · Palette generator →

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