#9168DA#9168DA

#9168DA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.1% C 0.169 H 297.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9168DA
RGBrgb(145, 104, 218)
HSLhsl(262, 61%, 63%)
HSVhsv(262, 52%, 85%)
CMYKcmyk(33.5%, 52.3%, 0%, 14.5%)
CIE-LABlab(52.93, 40.57, -52.80)
CIE-LCHlch(52.93, 66.59, 307.54°)
OKLaboklab(61.11% 0.0787 -0.1492)
OKLCHoklch(61.11% 0.169 297.8)
XYZxyz(29.2791, 20.9820, 68.8234)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168DA #B1DA68
analogous
#6878DA #9168DA #CA68DA
triadic
#9168DA #DA9168 #68DA91
tetradic
#9168DA #DA6878 #B1DA68 #68DACA
square
#9168DA #DA6878 #B1DA68 #68DACA
split-complementary
#9168DA #DACA68 #78DA68
monochromatic
#5327A0 #6D37CE #9168DA #B599E6 #D9CAF2

Accessibility & contrast

On white

4.04
#9168DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9168DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168DA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168DA#FFFFFF#000000##000000
##9168DA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDE
Deuteranopia (green-blind)
#477DD7
Tritanopia (blue-blind)
#817E97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9168da;
/* rgb */ color: rgb(145, 104, 218);
/* oklch */ color: oklch(61.1% 0.169 297.8);
Tailwind
colors: {
  custom: {
    50: '#b594e6',
    500: '#9168da',
    950: '#000000',
  },
}
SCSS
$custom: #9168da;
$custom-light: #b594e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9168da",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 261.579,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61105,
    "c": 0.16868,
    "h": 297.8
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#9168DA
secondary
#D5E3BA
accent
#C81D8B
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #9168DA

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

Preview Lab → · Contrast checker → · Palette generator →

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