#9162ED#9162ED

#9162ED is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.4% C 0.201 H 295.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9162ED
RGBrgb(145, 98, 237)
HSLhsl(260, 79%, 66%)
HSVhsv(260, 59%, 93%)
CMYKcmyk(38.8%, 58.6%, 0%, 7.1%)
CIE-LABlab(52.81, 48.80, -63.69)
CIE-LCHlch(52.81, 80.24, 307.46°)
OKLaboklab(61.38% 0.0863 -0.1812)
OKLCHoklch(61.38% 0.201 295.5)
XYZxyz(31.3268, 20.8689, 82.4819)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162ED #BEED62
analogous
#6278ED #9162ED #D762ED
triadic
#9162ED #ED9162 #62ED91
tetradic
#9162ED #ED6278 #BEED62 #62EDD7
square
#9162ED #ED6278 #BEED62 #62EDD7
split-complementary
#9162ED #EDD762 #78ED62
monochromatic
#4F16BF #6B2BE7 #9162ED #B799F3 #DED0FA

Accessibility & contrast

On white

4.06
#9162ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9162ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162ED
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162ED#FFFFFF#000000##000000
##9162ED1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#227CEA
Tritanopia (blue-blind)
#7A809E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9162ed;
/* rgb */ color: rgb(145, 98, 237);
/* oklch */ color: oklch(61.4% 0.201 295.5);
Tailwind
colors: {
  custom: {
    50: '#b790f4',
    500: '#9162ed',
    950: '#000000',
  },
}
SCSS
$custom: #9162ed;
$custom-light: #b790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9162ed",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 260.288,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.20066,
    "h": 295.5
  },
  "luminance": 0.2087
}

Semantic roles & 50–950 ramp

primary
#9162ED
secondary
#DDEDBE
accent
#DC0A95
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162ED

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

Preview Lab → · Contrast checker → · Palette generator →

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