#9162EF#9162EF

#9162EF is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.5% C 0.203 H 295.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9162EF
RGBrgb(145, 98, 239)
HSLhsl(260, 82%, 66%)
HSVhsv(260, 59%, 94%)
CMYKcmyk(39.3%, 59%, 0%, 6.3%)
CIE-LABlab(52.93, 49.32, -64.60)
CIE-LCHlch(52.93, 81.28, 307.36°)
OKLaboklab(61.52% 0.0862 -0.1839)
OKLCHoklch(61.52% 0.203 295.1)
XYZxyz(31.6206, 20.9864, 84.0294)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9162EF #C0EF62
analogous
#6279EF #9162EF #D762EF
triadic
#9162EF #EF9162 #62EF91
tetradic
#9162EF #EF6279 #C0EF62 #62EFD7
square
#9162EF #EF6279 #C0EF62 #62EFD7
split-complementary
#9162EF #EFD762 #79EF62
monochromatic
#4E14C3 #6A2AE9 #9162EF #B89AF5 #DFD1FA

Accessibility & contrast

On white

4.04
#9162EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9162EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9162EF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9162EF#FFFFFF#000000##000000
##9162EF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#1D7CEC
Tritanopia (blue-blind)
#79819F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9162ef;
/* rgb */ color: rgb(145, 98, 239);
/* oklch */ color: oklch(61.5% 0.203 295.1);
Tailwind
colors: {
  custom: {
    50: '#b790f5',
    500: '#9162ef',
    950: '#000000',
  },
}
SCSS
$custom: #9162ef;
$custom-light: #b790f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9162ef",
  "rgb": {
    "r": 145,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.20306,
    "h": 295.1
  },
  "luminance": 0.20987
}

Semantic roles & 50–950 ramp

primary
#9162EF
secondary
#DEEEBF
accent
#DE0896
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9162EF

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

Preview Lab → · Contrast checker → · Palette generator →

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