#B160E7#B160E7

#B160E7 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.1% C 0.203 H 309.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B160E7
RGBrgb(177, 96, 231)
HSLhsl(276, 74%, 64%)
HSVhsv(276, 58%, 91%)
CMYKcmyk(23.4%, 58.4%, 0%, 9.4%)
CIE-LABlab(55.57, 55.73, -55.70)
CIE-LCHlch(55.57, 78.80, 315.02°)
OKLaboklab(64.07% 0.1293 -0.1568)
OKLCHoklch(64.07% 0.203 309.5)
XYZxyz(36.7353, 23.4830, 78.1833)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160E7 #96E760
analogous
#6E60E7 #B160E7 #E760DA
triadic
#B160E7 #E7B160 #60E7B1
tetradic
#B160E7 #E76E60 #96E760 #60DAE7
square
#B160E7 #E76E60 #96E760 #60DAE7
split-complementary
#B160E7 #DAE760 #60E76E
monochromatic
#751BB2 #972BDF #B160E7 #CB95EF #E5CAF7

Accessibility & contrast

On white

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

On black

5.70
#B160E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160E7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160E7#FFFFFF#000000##000000
##B160E71.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EB
Deuteranopia (green-blind)
#5086E4
Tritanopia (blue-blind)
#AA799B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b160e7;
/* rgb */ color: rgb(177, 96, 231);
/* oklch */ color: oklch(64.1% 0.203 309.5);
Tailwind
colors: {
  custom: {
    50: '#cc91ef',
    500: '#b160e7',
    950: '#000000',
  },
}
SCSS
$custom: #b160e7;
$custom-light: #cc91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b160e7",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 276,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64074,
    "c": 0.20319,
    "h": 309.5
  },
  "luminance": 0.23482
}

Semantic roles & 50–950 ramp

primary
#B160E7
secondary
#CDE9BA
accent
#D6105F
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B160E7

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

Preview Lab → · Contrast checker → · Palette generator →

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