#9168EB#9168EB

#9168EB is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.2% C 0.190 H 294.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9168EB
RGBrgb(145, 104, 235)
HSLhsl(259, 77%, 66%)
HSVhsv(259, 56%, 92%)
CMYKcmyk(38.3%, 55.7%, 0%, 7.8%)
CIE-LABlab(53.94, 44.98, -60.74)
CIE-LCHlch(53.94, 75.59, 306.52°)
OKLaboklab(62.18% 0.0793 -0.1725)
OKLCHoklch(62.18% 0.19 294.7)
XYZxyz(31.6188, 21.9179, 81.1458)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168EB #C2EB68
analogous
#6881EB #9168EB #D368EB
triadic
#9168EB #EB9168 #68EB91
tetradic
#9168EB #EB6881 #C2EB68 #68EBD3
square
#9168EB #EB6881 #C2EB68 #68EBD3
split-complementary
#9168EB #EBD368 #81EB68
monochromatic
#4D19BF #6A32E4 #9168EB #B89EF2 #E0D4F9

Accessibility & contrast

On white

3.90
#9168EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9168EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168EB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168EB#FFFFFF#000000##000000
##9168EB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EF
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#7B84A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9168eb;
/* rgb */ color: rgb(145, 104, 235);
/* oklch */ color: oklch(62.2% 0.190 294.7);
Tailwind
colors: {
  custom: {
    50: '#b694f2',
    500: '#9168eb',
    950: '#000000',
  },
}
SCSS
$custom: #9168eb;
$custom-light: #b694f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9168eb",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 258.779,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62177,
    "c": 0.18986,
    "h": 294.7
  },
  "luminance": 0.21919
}

Semantic roles & 50–950 ramp

primary
#9168EB
secondary
#DFEDC2
accent
#D90D99
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9168EB

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

Preview Lab → · Contrast checker → · Palette generator →

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