#9165DB#9165DB

#9165DB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.174 H 298.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9165DB
RGBrgb(145, 101, 219)
HSLhsl(262, 62%, 63%)
HSVhsv(262, 54%, 86%)
CMYKcmyk(33.8%, 53.9%, 0%, 14.1%)
CIE-LABlab(52.33, 42.51, -54.32)
CIE-LCHlch(52.33, 68.98, 308.05°)
OKLaboklab(60.68% 0.0826 -0.1536)
OKLCHoklch(60.68% 0.174 298.2)
XYZxyz(29.1138, 20.4412, 69.4158)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9165DB #AFDB65
analogous
#6574DB #9165DB #CC65DB
triadic
#9165DB #DB9165 #65DB91
tetradic
#9165DB #DB6574 #AFDB65 #65DBCC
square
#9165DB #DB6574 #AFDB65 #65DBCC
split-complementary
#9165DB #DBCC65 #74DB65
monochromatic
#5325A0 #6E33CF #9165DB #B497E7 #D8C8F2

Accessibility & contrast

On white

4.13
#9165DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9165DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9165DB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9165DB#FFFFFF#000000##000000
##9165DB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#817D96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9165db;
/* rgb */ color: rgb(145, 101, 219);
/* oklch */ color: oklch(60.7% 0.174 298.2);
Tailwind
colors: {
  custom: {
    50: '#b592e7',
    500: '#9165db',
    950: '#000000',
  },
}
SCSS
$custom: #9165db;
$custom-light: #b592e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9165db",
  "rgb": {
    "r": 145,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 262.373,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60682,
    "c": 0.17442,
    "h": 298.2
  },
  "luminance": 0.20442
}

Semantic roles & 50–950 ramp

primary
#9165DB
secondary
#D3E3B9
accent
#CA1C89
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #9165DB

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

Preview Lab → · Contrast checker → · Palette generator →

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