#9168CB#9168CB

#9168CB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.2% C 0.150 H 301.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9168CB
RGBrgb(145, 104, 203)
HSLhsl(265, 49%, 60%)
HSVhsv(265, 49%, 80%)
CMYKcmyk(28.6%, 48.8%, 0%, 20.4%)
CIE-LABlab(52.10, 36.79, -45.59)
CIE-LCHlch(52.10, 58.59, 308.90°)
OKLaboklab(60.22% 0.0774 -0.1281)
OKLCHoklch(60.22% 0.15 301.1)
XYZxyz(27.4044, 20.2321, 58.9498)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168CB #A2CB68
analogous
#6871CB #9168CB #C268CB
triadic
#9168CB #CB9168 #68CB91
tetradic
#9168CB #CB6871 #A2CB68 #68CBC2
square
#9168CB #CB6871 #A2CB68 #68CBC2
split-complementary
#9168CB #CBC268 #71CB68
monochromatic
#552F89 #713FB7 #9168CB #B296DB #D3C3EA

Accessibility & contrast

On white

4.16
#9168CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9168CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168CB#FFFFFF#000000##000000
##9168CB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCE
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#867A90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9168cb;
/* rgb */ color: rgb(145, 104, 203);
/* oklch */ color: oklch(60.2% 0.150 301.1);
Tailwind
colors: {
  custom: {
    50: '#b494db',
    500: '#9168cb',
    950: '#000000',
  },
}
SCSS
$custom: #9168cb;
$custom-light: #b494db;
$custom-dark: #000000;
JSON
{
  "hex": "#9168cb",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 264.848,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60218,
    "c": 0.14971,
    "h": 301.1
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#9168CB
secondary
#CBDAB4
accent
#BC297F
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9168CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9168CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva