#9160DB#9160DB

#9160DB is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.182 H 299.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9160DB
RGBrgb(145, 96, 219)
HSLhsl(264, 63%, 62%)
HSVhsv(264, 56%, 86%)
CMYKcmyk(33.8%, 56.2%, 0%, 14.1%)
CIE-LABlab(51.27, 45.28, -56.03)
CIE-LCHlch(51.27, 72.03, 308.94°)
OKLaboklab(59.9% 0.0888 -0.1587)
OKLCHoklch(59.9% 0.182 299.2)
XYZxyz(28.6430, 19.4997, 69.2589)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9160DB #AADB60
analogous
#606DDB #9160DB #CE60DB
triadic
#9160DB #DB9160 #60DB91
tetradic
#9160DB #DB606D #AADB60 #60DBCE
square
#9160DB #DB606D #AADB60 #60DBCE
split-complementary
#9160DB #DBCE60 #6DDB60
monochromatic
#54249D #6F2FCF #9160DB #B492E6 #D6C4F2

Accessibility & contrast

On white

4.29
#9160DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9160DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9160DB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9160DB#FFFFFF#000000##000000
##9160DB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#817994
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9160db;
/* rgb */ color: rgb(145, 96, 219);
/* oklch */ color: oklch(59.9% 0.182 299.2);
Tailwind
colors: {
  custom: {
    50: '#b58fe7',
    500: '#9160db',
    950: '#000000',
  },
}
SCSS
$custom: #9160db;
$custom-light: #b58fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9160db",
  "rgb": {
    "r": 145,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 263.902,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.18181,
    "h": 299.2
  },
  "luminance": 0.195
}

Semantic roles & 50–950 ramp

primary
#9160DB
secondary
#D0E2B5
accent
#CB1B85
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9160DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9160DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva