#9162CD#9162CD

#9162CD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.3% C 0.162 H 302.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9162CD
RGBrgb(145, 98, 205)
HSLhsl(266, 52%, 59%)
HSVhsv(266, 52%, 80%)
CMYKcmyk(29.3%, 52.2%, 0%, 19.6%)
CIE-LABlab(50.88, 40.67, -48.68)
CIE-LCHlch(50.88, 63.43, 309.88°)
OKLaboklab(59.35% 0.0856 -0.1371)
OKLCHoklch(59.35% 0.162 302)
XYZxyz(27.0617, 19.1628, 60.0189)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162CD #9ECD62
analogous
#6269CD #9162CD #C762CD
triadic
#9162CD #CD9162 #62CD91
tetradic
#9162CD #CD6269 #9ECD62 #62CDC7
square
#9162CD #CD6269 #9ECD62 #62CDC7
split-complementary
#9162CD #CDC762 #69CD62
monochromatic
#552C89 #713AB7 #9162CD #B290DC #D2BFEB

Accessibility & contrast

On white

4.35
#9162CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9162CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162CD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162CD#FFFFFF#000000##000000
##9162CD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#86768E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9162cd;
/* rgb */ color: rgb(145, 98, 205);
/* oklch */ color: oklch(59.3% 0.162 302.0);
Tailwind
colors: {
  custom: {
    50: '#b490dd',
    500: '#9162cd',
    950: '#000000',
  },
}
SCSS
$custom: #9162cd;
$custom-light: #b490dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9162cd",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 266.355,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.16168,
    "h": 302
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#9162CD
secondary
#C8DAB1
accent
#DB4D9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #9162CD

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

Preview Lab → · Contrast checker → · Palette generator →

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