#9168EF#9168EF

#9168EF is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.4% C 0.195 H 294.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9168EF
RGBrgb(145, 104, 239)
HSLhsl(258, 81%, 67%)
HSVhsv(258, 56%, 94%)
CMYKcmyk(39.3%, 56.5%, 0%, 6.3%)
CIE-LABlab(54.19, 46.04, -62.58)
CIE-LCHlch(54.19, 77.69, 306.34°)
OKLaboklab(62.44% 0.0793 -0.1779)
OKLCHoklch(62.44% 0.195 294)
XYZxyz(32.2032, 22.1516, 84.2236)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168EF #C6EF68
analogous
#6883EF #9168EF #D468EF
triadic
#9168EF #EF9168 #68EF91
tetradic
#9168EF #EF6883 #C6EF68 #68EFD4
square
#9168EF #EF6883 #C6EF68 #68EFD4
split-complementary
#9168EF #EFD468 #83EF68
monochromatic
#4B15C7 #6931E9 #9168EF #B99FF5 #E2D7FB

Accessibility & contrast

On white

3.87
#9168EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#9168EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168EF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168EF#FFFFFF#000000##000000
##9168EF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D83F3
Deuteranopia (green-blind)
#2D7FEC
Tritanopia (blue-blind)
#7985A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9168ef;
/* rgb */ color: rgb(145, 104, 239);
/* oklch */ color: oklch(62.4% 0.195 294.0);
Tailwind
colors: {
  custom: {
    50: '#b694f5',
    500: '#9168ef',
    950: '#000000',
  },
}
SCSS
$custom: #9168ef;
$custom-light: #b694f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9168ef",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 258.222,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62438,
    "c": 0.19479,
    "h": 294
  },
  "luminance": 0.22152
}

Semantic roles & 50–950 ramp

primary
#9168EF
secondary
#E2EFC4
accent
#DD089D
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9168EF

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

Preview Lab → · Contrast checker → · Palette generator →

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