#9162CA#9162CA

#9162CA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.2% C 0.158 H 302.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9162CA
RGBrgb(145, 98, 202)
HSLhsl(267, 50%, 59%)
HSVhsv(267, 51%, 79%)
CMYKcmyk(28.2%, 51.5%, 0%, 20.8%)
CIE-LABlab(50.71, 39.93, -47.23)
CIE-LCHlch(50.71, 61.85, 310.21°)
OKLaboklab(59.17% 0.0854 -0.1329)
OKLCHoklch(59.17% 0.158 302.7)
XYZxyz(26.7030, 19.0194, 58.1300)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162CA #9BCA62
analogous
#6267CA #9162CA #C562CA
triadic
#9162CA #CA9162 #62CA91
tetradic
#9162CA #CA6267 #9BCA62 #62CAC5
square
#9162CA #CA6267 #9BCA62 #62CAC5
split-complementary
#9162CA #CAC562 #67CA62
monochromatic
#552D85 #723CB3 #9162CA #B190D9 #D1BEE9

Accessibility & contrast

On white

4.37
#9162CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9162CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162CA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162CA#FFFFFF#000000##000000
##9162CA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#87758D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9162ca;
/* rgb */ color: rgb(145, 98, 202);
/* oklch */ color: oklch(59.2% 0.158 302.7);
Tailwind
colors: {
  custom: {
    50: '#b490db',
    500: '#9162ca',
    950: '#000000',
  },
}
SCSS
$custom: #9162ca;
$custom-light: #b490db;
$custom-dark: #000000;
JSON
{
  "hex": "#9162ca",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 267.115,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.15798,
    "h": 302.7
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#9162CA
secondary
#C6D8AF
accent
#D94F9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9162CA

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

Preview Lab → · Contrast checker → · Palette generator →

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