#B160E6#B160E6

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

Color values

HEX#B160E6
RGBrgb(177, 96, 230)
HSLhsl(276, 73%, 64%)
HSVhsv(276, 58%, 90%)
CMYKcmyk(23%, 58.3%, 0%, 9.8%)
CIE-LABlab(55.51, 55.51, -55.23)
CIE-LCHlch(55.51, 78.31, 315.15°)
OKLaboklab(64.01% 0.1293 -0.1554)
OKLCHoklch(64.01% 0.202 309.8)
XYZxyz(36.5945, 23.4267, 77.4416)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160E6 #95E660
analogous
#6E60E6 #B160E6 #E660D8
triadic
#B160E6 #E6B160 #60E6B1
tetradic
#B160E6 #E66E60 #95E660 #60D8E6
square
#B160E6 #E66E60 #95E660 #60D8E6
split-complementary
#B160E6 #D8E660 #60E66E
monochromatic
#751CB0 #972BDE #B160E6 #CB95EE #E5CAF7

Accessibility & contrast

On white

3.69
#B160E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B160E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160E6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160E6#FFFFFF#000000##000000
##B160E61.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81EA
Deuteranopia (green-blind)
#5186E3
Tritanopia (blue-blind)
#AA799A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b160e6;
/* rgb */ color: rgb(177, 96, 230);
/* oklch */ color: oklch(64.0% 0.202 309.8);
Tailwind
colors: {
  custom: {
    50: '#cc91ee',
    500: '#b160e6',
    950: '#000000',
  },
}
SCSS
$custom: #b160e6;
$custom-light: #cc91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b160e6",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 276.269,
    "s": 72.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64014,
    "c": 0.20213,
    "h": 309.8
  },
  "luminance": 0.23426
}

Semantic roles & 50–950 ramp

primary
#B160E6
secondary
#CCE8B9
accent
#D5115E
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B160E6

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

Preview Lab → · Contrast checker → · Palette generator →

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