#9165DD#9165DD

#9165DD is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.177 H 297.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9165DD
RGBrgb(145, 101, 221)
HSLhsl(262, 64%, 63%)
HSVhsv(262, 54%, 87%)
CMYKcmyk(34.4%, 54.3%, 0%, 13.3%)
CIE-LABlab(52.45, 43.02, -55.26)
CIE-LCHlch(52.45, 70.03, 307.90°)
OKLaboklab(60.81% 0.0826 -0.1564)
OKLCHoklch(60.81% 0.177 297.8)
XYZxyz(29.3786, 20.5472, 70.8108)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9165DD #B1DD65
analogous
#6575DD #9165DD #CD65DD
triadic
#9165DD #DD9165 #65DD91
tetradic
#9165DD #DD6575 #B1DD65 #65DDCD
square
#9165DD #DD6575 #B1DD65 #65DDCD
split-complementary
#9165DD #DDCD65 #75DD65
monochromatic
#5324A4 #6D33D2 #9165DD #B597E8 #D9C9F3

Accessibility & contrast

On white

4.11
#9165DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9165DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9165DD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9165DD#FFFFFF#000000##000000
##9165DD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#807D97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9165dd;
/* rgb */ color: rgb(145, 101, 221);
/* oklch */ color: oklch(60.8% 0.177 297.8);
Tailwind
colors: {
  custom: {
    50: '#b592e8',
    500: '#9165dd',
    950: '#000000',
  },
}
SCSS
$custom: #9165dd;
$custom-light: #b592e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9165dd",
  "rgb": {
    "r": 145,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 262,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.1769,
    "h": 297.8
  },
  "luminance": 0.20548
}

Semantic roles & 50–950 ramp

primary
#9165DD
secondary
#D5E4B9
accent
#CC1A8A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9165DD

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

Preview Lab → · Contrast checker → · Palette generator →

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