#9165EA#9165EA

#9165EA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.193 H 295.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9165EA
RGBrgb(145, 101, 234)
HSLhsl(260, 76%, 66%)
HSVhsv(260, 57%, 92%)
CMYKcmyk(38%, 56.8%, 0%, 8.2%)
CIE-LABlab(53.24, 46.38, -61.31)
CIE-LCHlch(53.24, 76.88, 307.11°)
OKLaboklab(61.64% 0.0828 -0.1742)
OKLCHoklch(61.64% 0.193 295.4)
XYZxyz(31.1782, 21.2670, 80.2882)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9165EA #BEEA65
analogous
#657BEA #9165EA #D465EA
triadic
#9165EA #EA9165 #65EA91
tetradic
#9165EA #EA657B #BEEA65 #65EAD4
square
#9165EA #EA657B #BEEA65 #65EAD4
split-complementary
#9165EA #EAD465 #7BEA65
monochromatic
#4F1ABB #6B2FE3 #9165EA #B79BF1 #DED1F9

Accessibility & contrast

On white

4.00
#9165EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9165EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9165EA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9165EA#FFFFFF#000000##000000
##9165EA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C80EE
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#7B819E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9165ea;
/* rgb */ color: rgb(145, 101, 234);
/* oklch */ color: oklch(61.6% 0.193 295.4);
Tailwind
colors: {
  custom: {
    50: '#b692f1',
    500: '#9165ea',
    950: '#000000',
  },
}
SCSS
$custom: #9165ea;
$custom-light: #b692f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9165ea",
  "rgb": {
    "r": 145,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 259.85,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61642,
    "c": 0.19287,
    "h": 295.4
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#9165EA
secondary
#DDECBF
accent
#D80D95
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9165EA

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

Preview Lab → · Contrast checker → · Palette generator →

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