#9167DB#9167DB

#9167DB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.171 H 297.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9167DB
RGBrgb(145, 103, 219)
HSLhsl(262, 62%, 63%)
HSVhsv(262, 53%, 86%)
CMYKcmyk(33.8%, 53%, 0%, 14.1%)
CIE-LABlab(52.77, 41.39, -53.62)
CIE-LCHlch(52.77, 67.74, 307.66°)
OKLaboklab(61% 0.08 -0.1516)
OKLCHoklch(61% 0.171 297.8)
XYZxyz(29.3103, 20.8344, 69.4813)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9167DB #B1DB67
analogous
#6777DB #9167DB #CB67DB
triadic
#9167DB #DB9167 #67DB91
tetradic
#9167DB #DB6777 #B1DB67 #67DBCB
square
#9167DB #DB6777 #B1DB67 #67DBCB
split-complementary
#9167DB #DBCB67 #77DB67
monochromatic
#5326A1 #6D36CF #9167DB #B598E7 #D9CAF2

Accessibility & contrast

On white

4.06
#9167DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9167DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9167DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9167DB#FFFFFF#000000##000000
##9167DB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#457DD8
Tritanopia (blue-blind)
#817E97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9167db;
/* rgb */ color: rgb(145, 103, 219);
/* oklch */ color: oklch(61.0% 0.171 297.8);
Tailwind
colors: {
  custom: {
    50: '#b593e7',
    500: '#9167db',
    950: '#000000',
  },
}
SCSS
$custom: #9167db;
$custom-light: #b593e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9167db",
  "rgb": {
    "r": 145,
    "g": 103,
    "b": 219
  },
  "hsl": {
    "h": 261.724,
    "s": 61.702,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61004,
    "c": 0.17144,
    "h": 297.8
  },
  "luminance": 0.20835
}

Semantic roles & 50–950 ramp

primary
#9167DB
secondary
#D5E4BA
accent
#C91C8B
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #9167DB

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

Preview Lab → · Contrast checker → · Palette generator →

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