#B160D8#B160D8

#B160D8 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.2% C 0.187 H 313.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B160D8
RGBrgb(177, 96, 216)
HSLhsl(281, 61%, 61%)
HSVhsv(281, 56%, 85%)
CMYKcmyk(18.1%, 55.6%, 0%, 15.3%)
CIE-LABlab(54.73, 52.50, -48.58)
CIE-LCHlch(54.73, 71.53, 317.22°)
OKLaboklab(63.2% 0.1288 -0.1359)
OKLCHoklch(63.2% 0.187 313.5)
XYZxyz(34.7069, 22.6717, 67.5002)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160D8 #87D860
analogous
#7560D8 #B160D8 #D860C3
triadic
#B160D8 #D8B160 #60D8B1
tetradic
#B160D8 #D87560 #87D860 #60C3D8
square
#B160D8 #D87560 #87D860 #60C3D8
split-complementary
#B160D8 #C3D860 #60D875
monochromatic
#732598 #9831C9 #B160D8 #C991E4 #E1C2F0

Accessibility & contrast

On white

3.79
#B160D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B160D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160D8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160D8#FFFFFF#000000##000000
##B160D81.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDC
Deuteranopia (green-blind)
#5B85D5
Tritanopia (blue-blind)
#AD7493
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b160d8;
/* rgb */ color: rgb(177, 96, 216);
/* oklch */ color: oklch(63.2% 0.187 313.5);
Tailwind
colors: {
  custom: {
    50: '#cb90e4',
    500: '#b160d8',
    950: '#000000',
  },
}
SCSS
$custom: #b160d8;
$custom-light: #cb90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b160d8",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 216
  },
  "hsl": {
    "h": 280.5,
    "s": 60.606,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.18728,
    "h": 313.5
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#B160D8
secondary
#C2E0B3
accent
#C81D55
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B160D8

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

Preview Lab → · Contrast checker → · Palette generator →

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