#9167D2#9167D2

#9167D2 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.160 H 299.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9167D2
RGBrgb(145, 103, 210)
HSLhsl(264, 54%, 61%)
HSVhsv(264, 51%, 82%)
CMYKcmyk(31%, 51%, 0%, 17.6%)
CIE-LABlab(52.26, 39.11, -49.33)
CIE-LCHlch(52.26, 62.95, 308.40°)
OKLaboklab(60.46% 0.0794 -0.139)
OKLCHoklch(60.46% 0.16 299.7)
XYZxyz(28.1574, 20.3732, 63.4092)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9167D2 #A8D267
analogous
#6773D2 #9167D2 #C767D2
triadic
#9167D2 #D29167 #67D291
tetradic
#9167D2 #D26773 #A8D267 #67D2C7
square
#9167D2 #D26773 #A8D267 #67D2C7
split-complementary
#9167D2 #D2C767 #73D267
monochromatic
#542C93 #6F3AC2 #9167D2 #B396E0 #D5C5EE

Accessibility & contrast

On white

4.14
#9167D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9167D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9167D2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9167D2#FFFFFF#000000##000000
##9167D21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD6
Deuteranopia (green-blind)
#4D7CCF
Tritanopia (blue-blind)
#847B93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9167d2;
/* rgb */ color: rgb(145, 103, 210);
/* oklch */ color: oklch(60.5% 0.160 299.7);
Tailwind
colors: {
  custom: {
    50: '#b493e0',
    500: '#9167d2',
    950: '#000000',
  },
}
SCSS
$custom: #9167d2;
$custom-light: #b493e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9167d2",
  "rgb": {
    "r": 145,
    "g": 103,
    "b": 210
  },
  "hsl": {
    "h": 263.551,
    "s": 54.315,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.16014,
    "h": 299.7
  },
  "luminance": 0.20373
}

Semantic roles & 50–950 ramp

primary
#9167D2
secondary
#CFDEB6
accent
#C22484
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9167D2

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

Preview Lab → · Contrast checker → · Palette generator →

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