#9160DF#9160DF

#9160DF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.187 H 298.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9160DF
RGBrgb(145, 96, 223)
HSLhsl(263, 66%, 63%)
HSVhsv(263, 57%, 87%)
CMYKcmyk(35%, 57%, 0%, 12.5%)
CIE-LABlab(51.51, 46.29, -57.90)
CIE-LCHlch(51.51, 74.13, 308.64°)
OKLaboklab(60.15% 0.0888 -0.1642)
OKLCHoklch(60.15% 0.187 298.4)
XYZxyz(29.1759, 19.7129, 72.0656)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9160DF #AEDF60
analogous
#606EDF #9160DF #D160DF
triadic
#9160DF #DF9160 #60DF91
tetradic
#9160DF #DF606E #AEDF60 #60DFD1
square
#9160DF #DF606E #AEDF60 #60DFD1
split-complementary
#9160DF #DFD160 #6EDF60
monochromatic
#5321A4 #6E2DD5 #9160DF #B493E9 #D7C6F4

Accessibility & contrast

On white

4.25
#9160DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9160DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9160DF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9160DF#FFFFFF#000000##000000
##9160DF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#217BE3
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#807A96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9160df;
/* rgb */ color: rgb(145, 96, 223);
/* oklch */ color: oklch(60.2% 0.187 298.4);
Tailwind
colors: {
  custom: {
    50: '#b68fea',
    500: '#9160df',
    950: '#000000',
  },
}
SCSS
$custom: #9160df;
$custom-light: #b68fea;
$custom-dark: #000000;
JSON
{
  "hex": "#9160df",
  "rgb": {
    "r": 145,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 263.15,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.18664,
    "h": 298.4
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#9160DF
secondary
#D3E4B6
accent
#CE1788
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9160DF

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

Preview Lab → · Contrast checker → · Palette generator →

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