#B160D2#B160D2

#B160D2 is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.9% C 0.181 H 315.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B160D2
RGBrgb(177, 96, 210)
HSLhsl(283, 56%, 60%)
HSVhsv(283, 54%, 82%)
CMYKcmyk(15.7%, 54.3%, 0%, 17.6%)
CIE-LABlab(54.41, 51.24, -45.68)
CIE-LCHlch(54.41, 68.64, 318.28°)
OKLaboklab(62.86% 0.1284 -0.1275)
OKLCHoklch(62.86% 0.181 315.2)
XYZxyz(33.9454, 22.3670, 63.4894)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160D2 #81D260
analogous
#7860D2 #B160D2 #D260BA
triadic
#B160D2 #D2B160 #60D2B1
tetradic
#B160D2 #D27860 #81D260 #60BAD2
square
#B160D2 #D27860 #81D260 #60BAD2
split-complementary
#B160D2 #BAD260 #60D278
monochromatic
#71298F #9736BF #B160D2 #C890DF #E0BFED

Accessibility & contrast

On white

3.84
#B160D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B160D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160D2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160D2#FFFFFF#000000##000000
##B160D21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#5F84CF
Tritanopia (blue-blind)
#AF7290
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b160d2;
/* rgb */ color: rgb(177, 96, 210);
/* oklch */ color: oklch(62.9% 0.181 315.2);
Tailwind
colors: {
  custom: {
    50: '#cb90e0',
    500: '#b160d2',
    950: '#000000',
  },
}
SCSS
$custom: #b160d2;
$custom-light: #cb90e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b160d2",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 210
  },
  "hsl": {
    "h": 282.632,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.62858,
    "c": 0.18098,
    "h": 315.2
  },
  "luminance": 0.22366
}

Semantic roles & 50–950 ramp

primary
#B160D2
secondary
#BEDDB1
accent
#DF4974
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B160D2

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

Preview Lab → · Contrast checker → · Palette generator →

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