#B160E5#B160E5

#B160E5 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.0% C 0.201 H 310.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B160E5
RGBrgb(177, 96, 229)
HSLhsl(277, 72%, 64%)
HSVhsv(277, 58%, 90%)
CMYKcmyk(22.7%, 58.1%, 0%, 10.2%)
CIE-LABlab(55.45, 55.30, -54.76)
CIE-LCHlch(55.45, 77.83, 315.28°)
OKLaboklab(63.95% 0.1293 -0.154)
OKLCHoklch(63.95% 0.201 310)
XYZxyz(36.4545, 23.3707, 76.7041)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160E5 #94E560
analogous
#6E60E5 #B160E5 #E560D7
triadic
#B160E5 #E5B160 #60E5B1
tetradic
#B160E5 #E56E60 #94E560 #60D7E5
square
#B160E5 #E56E60 #94E560 #60D7E5
split-complementary
#B160E5 #D7E560 #60E56E
monochromatic
#751CAE #972BDC #B160E5 #CB95EE #E5C9F6

Accessibility & contrast

On white

3.70
#B160E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B160E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160E5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160E5#FFFFFF#000000##000000
##B160E51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3081E9
Deuteranopia (green-blind)
#5286E2
Tritanopia (blue-blind)
#AA799A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b160e5;
/* rgb */ color: rgb(177, 96, 229);
/* oklch */ color: oklch(64.0% 0.201 310.0);
Tailwind
colors: {
  custom: {
    50: '#cc91ee',
    500: '#b160e5',
    950: '#000000',
  },
}
SCSS
$custom: #b160e5;
$custom-light: #cc91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b160e5",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 229
  },
  "hsl": {
    "h": 276.541,
    "s": 71.892,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63954,
    "c": 0.20107,
    "h": 310
  },
  "luminance": 0.2337
}

Semantic roles & 50–950 ramp

primary
#B160E5
secondary
#CBE8B9
accent
#D4125E
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B160E5

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

Preview Lab → · Contrast checker → · Palette generator →

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