#B160DB#B160DB

#B160DB is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.4% C 0.190 H 312.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B160DB
RGBrgb(177, 96, 219)
HSLhsl(280, 63%, 62%)
HSVhsv(280, 56%, 86%)
CMYKcmyk(19.2%, 56.2%, 0%, 14.1%)
CIE-LABlab(54.89, 53.14, -50.02)
CIE-LCHlch(54.89, 72.98, 316.73°)
OKLaboklab(63.37% 0.129 -0.1401)
OKLCHoklch(63.37% 0.19 312.6)
XYZxyz(35.0983, 22.8282, 69.5615)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160DB #8ADB60
analogous
#7460DB #B160DB #DB60C8
triadic
#B160DB #DBB160 #60DBB1
tetradic
#B160DB #DB7460 #8ADB60 #60C8DB
square
#B160DB #DB7460 #8ADB60 #60C8DB
split-complementary
#B160DB #C8DB60 #60DB74
monochromatic
#74249D #982FCF #B160DB #C992E6 #E2C4F2

Accessibility & contrast

On white

3.77
#B160DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B160DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160DB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160DB#FFFFFF#000000##000000
##B160DB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#5985D8
Tritanopia (blue-blind)
#AD7594
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b160db;
/* rgb */ color: rgb(177, 96, 219);
/* oklch */ color: oklch(63.4% 0.190 312.6);
Tailwind
colors: {
  custom: {
    50: '#cb90e7',
    500: '#b160db',
    950: '#000000',
  },
}
SCSS
$custom: #b160db;
$custom-light: #cb90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b160db",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 279.512,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63367,
    "c": 0.19045,
    "h": 312.6
  },
  "luminance": 0.22827
}

Semantic roles & 50–950 ramp

primary
#B160DB
secondary
#C4E2B5
accent
#CB1B57
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B160DB

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

Preview Lab → · Contrast checker → · Palette generator →

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