#9167EC#9167EC

#9167EC is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.1% C 0.193 H 294.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9167EC
RGBrgb(145, 103, 236)
HSLhsl(259, 78%, 66%)
HSVhsv(259, 56%, 93%)
CMYKcmyk(38.6%, 56.4%, 0%, 7.5%)
CIE-LABlab(53.79, 45.80, -61.55)
CIE-LCHlch(53.79, 76.72, 306.66°)
OKLaboklab(62.09% 0.0805 -0.1749)
OKLCHoklch(62.09% 0.193 294.7)
XYZxyz(31.6637, 21.7757, 81.8755)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9167EC #C2EC67
analogous
#6780EC #9167EC #D367EC
triadic
#9167EC #EC9167 #67EC91
tetradic
#9167EC #EC6780 #C2EC67 #67ECD3
square
#9167EC #EC6780 #C2EC67 #67ECD3
split-complementary
#9167EC #ECD367 #80EC67
monochromatic
#4D18C1 #6A31E5 #9167EC #B89DF3 #E0D4FA

Accessibility & contrast

On white

3.92
#9167EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9167EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9167EC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9167EC#FFFFFF#000000##000000
##9167EC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F0
Deuteranopia (green-blind)
#307EE9
Tritanopia (blue-blind)
#7A83A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9167ec;
/* rgb */ color: rgb(145, 103, 236);
/* oklch */ color: oklch(62.1% 0.193 294.7);
Tailwind
colors: {
  custom: {
    50: '#b694f3',
    500: '#9167ec',
    950: '#000000',
  },
}
SCSS
$custom: #9167ec;
$custom-light: #b694f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9167ec",
  "rgb": {
    "r": 145,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 258.947,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.19251,
    "h": 294.7
  },
  "luminance": 0.21776
}

Semantic roles & 50–950 ramp

primary
#9167EC
secondary
#DFEDC2
accent
#DA0B99
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9167EC

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

Preview Lab → · Contrast checker → · Palette generator →

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