#9165E4#9165E4

#9165E4 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.186 H 296.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9165E4
RGBrgb(145, 101, 228)
HSLhsl(261, 70%, 65%)
HSVhsv(261, 56%, 89%)
CMYKcmyk(36.4%, 55.7%, 0%, 10.6%)
CIE-LABlab(52.87, 44.82, -58.53)
CIE-LCHlch(52.87, 73.72, 307.44°)
OKLaboklab(61.25% 0.0828 -0.166)
OKLCHoklch(61.25% 0.186 296.5)
XYZxyz(30.3308, 20.9280, 75.8253)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9165E4 #B8E465
analogous
#6579E4 #9165E4 #D065E4
triadic
#9165E4 #E49165 #65E491
tetradic
#9165E4 #E46579 #B8E465 #65E4D0
square
#9165E4 #E46579 #B8E465 #65E4D0
split-complementary
#9165E4 #E4D065 #79E465
monochromatic
#511FB0 #6C31DB #9165E4 #B699ED #DBCDF6

Accessibility & contrast

On white

4.05
#9165E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9165E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9165E4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9165E4#FFFFFF#000000##000000
##9165E41.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#7D7F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9165e4;
/* rgb */ color: rgb(145, 101, 228);
/* oklch */ color: oklch(61.3% 0.186 296.5);
Tailwind
colors: {
  custom: {
    50: '#b692ed',
    500: '#9165e4',
    950: '#000000',
  },
}
SCSS
$custom: #9165e4;
$custom-light: #b692ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9165e4",
  "rgb": {
    "r": 145,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 260.787,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.18552,
    "h": 296.5
  },
  "luminance": 0.20929
}

Semantic roles & 50–950 ramp

primary
#9165E4
secondary
#D9E8BC
accent
#D21390
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9165E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9165E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva