#B160B2#B160B2

#B160B2 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.2% C 0.149 H 326.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B160B2
RGBrgb(177, 96, 178)
HSLhsl(299, 35%, 54%)
HSVhsv(299, 46%, 70%)
CMYKcmyk(0.6%, 46.1%, 0%, 30.2%)
CIE-LABlab(52.87, 44.89, -29.74)
CIE-LCHlch(52.87, 53.85, 326.48°)
OKLaboklab(61.22% 0.1243 -0.0815)
OKLCHoklch(61.22% 0.149 326.8)
XYZxyz(30.3496, 20.9287, 44.5519)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160B2 #61B260
analogous
#8860B2 #B160B2 #B2608A
triadic
#B160B2 #B2B160 #60B2B1
tetradic
#B160B2 #B28860 #61B260 #608AB2
square
#B160B2 #B28860 #61B260 #608AB2
split-complementary
#B160B2 #8AB260 #60B288
monochromatic
#653166 #8E458F #B160B2 #C589C6 #D9B2DA

Accessibility & contrast

On white

4.05
#B160B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B160B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160B2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160B2#FFFFFF#000000##000000
##B160B21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#B56981
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b160b2;
/* rgb */ color: rgb(177, 96, 178);
/* oklch */ color: oklch(61.2% 0.149 326.8);
Tailwind
colors: {
  custom: {
    50: '#ca90c9',
    500: '#b160b2',
    950: '#000000',
  },
}
SCSS
$custom: #b160b2;
$custom-light: #ca90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b160b2",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 299.268,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.14861,
    "h": 326.8
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#B160B2
secondary
#A6C8A5
accent
#CB5D5E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B160B2

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

Preview Lab → · Contrast checker → · Palette generator →

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