#B160F4#B160F4

#B160F4 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.9% C 0.217 H 306.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B160F4
RGBrgb(177, 96, 244)
HSLhsl(273, 87%, 67%)
HSVhsv(273, 61%, 96%)
CMYKcmyk(27.5%, 60.7%, 0%, 4.3%)
CIE-LABlab(56.33, 58.62, -61.74)
CIE-LCHlch(56.33, 85.14, 313.52°)
OKLaboklab(64.88% 0.1291 -0.1745)
OKLCHoklch(64.88% 0.217 306.5)
XYZxyz(38.6400, 24.2449, 88.2145)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160F4 #A3F460
analogous
#6760F4 #B160F4 #F460ED
triadic
#B160F4 #F4B160 #60F4B1
tetradic
#B160F4 #F46760 #A3F460 #60EDF4
square
#B160F4 #F46760 #A3F460 #60EDF4
split-complementary
#B160F4 #EDF460 #60F467
monochromatic
#760ECC #9527F0 #B160F4 #CD99F8 #E9D2FC

Accessibility & contrast

On white

3.59
#B160F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B160F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160F4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160F4#FFFFFF#000000##000000
##B160F41.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F84F9
Deuteranopia (green-blind)
#4388F1
Tritanopia (blue-blind)
#A67EA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b160f4;
/* rgb */ color: rgb(177, 96, 244);
/* oklch */ color: oklch(64.9% 0.217 306.5);
Tailwind
colors: {
  custom: {
    50: '#cc91f8',
    500: '#b160f4',
    950: '#000000',
  },
}
SCSS
$custom: #b160f4;
$custom-light: #cc91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b160f4",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 244
  },
  "hsl": {
    "h": 272.838,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64878,
    "c": 0.21704,
    "h": 306.5
  },
  "luminance": 0.24245
}

Semantic roles & 50–950 ramp

primary
#B160F4
secondary
#D6F0C0
accent
#E40268
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B160F4

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

Preview Lab → · Contrast checker → · Palette generator →

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