#9165CE#9165CE

#9165CE is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.9% C 0.158 H 301.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9165CE
RGBrgb(145, 101, 206)
HSLhsl(265, 52%, 60%)
HSVhsv(265, 51%, 81%)
CMYKcmyk(29.6%, 51%, 0%, 19.2%)
CIE-LABlab(51.59, 39.23, -48.11)
CIE-LCHlch(51.59, 62.08, 309.19°)
OKLaboklab(59.89% 0.0818 -0.1355)
OKLCHoklch(59.89% 0.158 301.1)
XYZxyz(27.4687, 19.7832, 60.7520)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9165CE #A2CE65
analogous
#656DCE #9165CE #C665CE
triadic
#9165CE #CE9165 #65CE91
tetradic
#9165CE #CE656D #A2CE65 #65CEC6
square
#9165CE #CE656D #A2CE65 #65CEC6
split-complementary
#9165CE #CEC665 #6DCE65
monochromatic
#552D8C #713BBA #9165CE #B293DD #D3C2EC

Accessibility & contrast

On white

4.24
#9165CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9165CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9165CE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9165CE#FFFFFF#000000##000000
##9165CE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD2
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#857990
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9165ce;
/* rgb */ color: rgb(145, 101, 206);
/* oklch */ color: oklch(59.9% 0.158 301.1);
Tailwind
colors: {
  custom: {
    50: '#b492dd',
    500: '#9165ce',
    950: '#000000',
  },
}
SCSS
$custom: #9165ce;
$custom-light: #b492dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9165ce",
  "rgb": {
    "r": 145,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 265.143,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.15823,
    "h": 301.1
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#9165CE
secondary
#CBDCB3
accent
#BF267F
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9165CE

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

Preview Lab → · Contrast checker → · Palette generator →

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