#9162CF#9162CF

#9162CF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.5% C 0.164 H 301.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9162CF
RGBrgb(145, 98, 207)
HSLhsl(266, 53%, 60%)
HSVhsv(266, 53%, 81%)
CMYKcmyk(30%, 52.7%, 0%, 18.8%)
CIE-LABlab(50.99, 41.17, -49.64)
CIE-LCHlch(50.99, 64.49, 309.67°)
OKLaboklab(59.47% 0.0858 -0.1399)
OKLCHoklch(59.47% 0.164 301.5)
XYZxyz(27.3046, 19.2600, 61.2984)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162CF #A0CF62
analogous
#6269CF #9162CF #C862CF
triadic
#9162CF #CF9162 #62CF91
tetradic
#9162CF #CF6269 #A0CF62 #62CFC8
square
#9162CF #CF6269 #A0CF62 #62CFC8
split-complementary
#9162CF #CFC862 #69CF62
monochromatic
#552B8C #7139BB #9162CF #B291DD #D3C0EC

Accessibility & contrast

On white

4.33
#9162CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9162CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162CF#FFFFFF#000000##000000
##9162CF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D3
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#85778F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9162cf;
/* rgb */ color: rgb(145, 98, 207);
/* oklch */ color: oklch(59.5% 0.164 301.5);
Tailwind
colors: {
  custom: {
    50: '#b490de',
    500: '#9162cf',
    950: '#000000',
  },
}
SCSS
$custom: #9162cf;
$custom-light: #b490de;
$custom-dark: #000000;
JSON
{
  "hex": "#9162cf",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 265.872,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59465,
    "c": 0.16415,
    "h": 301.5
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#9162CF
secondary
#C9DBB1
accent
#DD4B9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #9162CF

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

Preview Lab → · Contrast checker → · Palette generator →

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