#9162DC#9162DC

#9162DC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.3% C 0.180 H 298.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9162DC
RGBrgb(145, 98, 220)
HSLhsl(263, 64%, 62%)
HSVhsv(263, 55%, 86%)
CMYKcmyk(34.1%, 55.5%, 0%, 13.7%)
CIE-LABlab(51.75, 44.43, -55.82)
CIE-LCHlch(51.75, 71.34, 308.52°)
OKLaboklab(60.27% 0.0863 -0.158)
OKLCHoklch(60.27% 0.18 298.6)
XYZxyz(28.9598, 19.9221, 70.0159)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162DC #ADDC62
analogous
#6270DC #9162DC #CE62DC
triadic
#9162DC #DC9162 #62DC91
tetradic
#9162DC #DC6270 #ADDC62 #62DCCE
square
#9162DC #DC6270 #ADDC62 #62DCCE
split-complementary
#9162DC #DCCE62 #70DC62
monochromatic
#5424A0 #6E30D1 #9162DC #B494E7 #D7C6F2

Accessibility & contrast

On white

4.21
#9162DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9162DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162DC#FFFFFF#000000##000000
##9162DC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BE0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#817B96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9162dc;
/* rgb */ color: rgb(145, 98, 220);
/* oklch */ color: oklch(60.3% 0.180 298.6);
Tailwind
colors: {
  custom: {
    50: '#b590e7',
    500: '#9162dc',
    950: '#000000',
  },
}
SCSS
$custom: #9162dc;
$custom-light: #b590e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9162dc",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 263.115,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.18009,
    "h": 298.6
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#9162DC
secondary
#D2E3B7
accent
#CB1A87
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9162DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9162DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva