#9160DA#9160DA

#9160DA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.181 H 299.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9160DA
RGBrgb(145, 96, 218)
HSLhsl(264, 62%, 62%)
HSVhsv(264, 56%, 85%)
CMYKcmyk(33.5%, 56%, 0%, 14.5%)
CIE-LABlab(51.21, 45.02, -55.56)
CIE-LCHlch(51.21, 71.51, 309.02°)
OKLaboklab(59.83% 0.0888 -0.1573)
OKLCHoklch(59.83% 0.181 299.4)
XYZxyz(28.5117, 19.4472, 68.5676)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9160DA #A9DA60
analogous
#606CDA #9160DA #CE60DA
triadic
#9160DA #DA9160 #60DA91
tetradic
#9160DA #DA606C #A9DA60 #60DACE
square
#9160DA #DA606C #A9DA60 #60DACE
split-complementary
#9160DA #DACE60 #6CDA60
monochromatic
#54249B #6F30CD #9160DA #B392E6 #D6C3F1

Accessibility & contrast

On white

4.30
#9160DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9160DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9160DA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9160DA#FFFFFF#000000##000000
##9160DA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADE
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#817994
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9160da;
/* rgb */ color: rgb(145, 96, 218);
/* oklch */ color: oklch(59.8% 0.181 299.4);
Tailwind
colors: {
  custom: {
    50: '#b58fe6',
    500: '#9160da',
    950: '#000000',
  },
}
SCSS
$custom: #9160da;
$custom-light: #b58fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9160da",
  "rgb": {
    "r": 145,
    "g": 96,
    "b": 218
  },
  "hsl": {
    "h": 264.098,
    "s": 62.245,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.1806,
    "h": 299.4
  },
  "luminance": 0.19447
}

Semantic roles & 50–950 ramp

primary
#9160DA
secondary
#CFE2B4
accent
#CA1C84
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9160DA

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

Preview Lab → · Contrast checker → · Palette generator →

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