#B160F3#B160F3

#B160F3 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.216 H 306.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B160F3
RGBrgb(177, 96, 243)
HSLhsl(273, 86%, 66%)
HSVhsv(273, 60%, 95%)
CMYKcmyk(27.2%, 60.5%, 0%, 4.7%)
CIE-LABlab(56.27, 58.40, -61.28)
CIE-LCHlch(56.27, 84.65, 313.62°)
OKLaboklab(64.82% 0.1291 -0.1731)
OKLCHoklch(64.82% 0.216 306.7)
XYZxyz(38.4886, 24.1843, 87.4171)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160F3 #A2F360
analogous
#6860F3 #B160F3 #F360EC
triadic
#B160F3 #F3B160 #60F3B1
tetradic
#B160F3 #F36860 #A2F360 #60ECF3
square
#B160F3 #F36860 #A2F360 #60ECF3
split-complementary
#B160F3 #ECF360 #60F368
monochromatic
#760FC9 #9527EF #B160F3 #CD99F7 #E9D2FC

Accessibility & contrast

On white

3.60
#B160F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B160F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160F3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160F3#FFFFFF#000000##000000
##B160F31.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F8
Deuteranopia (green-blind)
#4488F0
Tritanopia (blue-blind)
#A67DA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b160f3;
/* rgb */ color: rgb(177, 96, 243);
/* oklch */ color: oklch(64.8% 0.216 306.7);
Tailwind
colors: {
  custom: {
    50: '#cc91f8',
    500: '#b160f3',
    950: '#000000',
  },
}
SCSS
$custom: #b160f3;
$custom-light: #cc91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b160f3",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 243
  },
  "hsl": {
    "h": 273.061,
    "s": 85.965,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64815,
    "c": 0.21597,
    "h": 306.7
  },
  "luminance": 0.24184
}

Semantic roles & 50–950 ramp

primary
#B160F3
secondary
#D5EFC0
accent
#E20367
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B160F3

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

Preview Lab → · Contrast checker → · Palette generator →

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