#9162C8#9162C8

#9162C8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.155 H 303.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9162C8
RGBrgb(145, 98, 200)
HSLhsl(268, 48%, 58%)
HSVhsv(268, 51%, 78%)
CMYKcmyk(27.5%, 51%, 0%, 21.6%)
CIE-LABlab(50.60, 39.44, -46.26)
CIE-LCHlch(50.60, 60.79, 310.45°)
OKLaboklab(59.05% 0.0853 -0.13)
OKLCHoklch(59.05% 0.156 303.2)
XYZxyz(26.4678, 18.9253, 56.8909)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162C8 #99C862
analogous
#6266C8 #9162C8 #C462C8
triadic
#9162C8 #C89162 #62C891
tetradic
#9162C8 #C86266 #99C862 #62C8C4
square
#9162C8 #C86266 #99C862 #62C8C4
split-complementary
#9162C8 #C8C462 #66C862
monochromatic
#542E82 #723DAF #9162C8 #B18FD8 #D1BDE8

Accessibility & contrast

On white

4.39
#9162C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9162C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162C8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162C8#FFFFFF#000000##000000
##9162C81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#87758C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9162c8;
/* rgb */ color: rgb(145, 98, 200);
/* oklch */ color: oklch(59.1% 0.155 303.2);
Tailwind
colors: {
  custom: {
    50: '#b490d9',
    500: '#9162c8',
    950: '#000000',
  },
}
SCSS
$custom: #9162c8;
$custom-light: #b490d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9162c8",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 267.647,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.1555,
    "h": 303.2
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#9162C8
secondary
#C4D7AF
accent
#D85099
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #9162C8

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

Preview Lab → · Contrast checker → · Palette generator →

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