#9168FE#9168FE

#9168FE is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.5% C 0.213 H 291.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9168FE
RGBrgb(145, 104, 254)
HSLhsl(256, 99%, 70%)
HSVhsv(256, 59%, 100%)
CMYKcmyk(42.9%, 59.1%, 0%, 0.4%)
CIE-LABlab(55.15, 50.03, -69.36)
CIE-LCHlch(55.15, 85.52, 305.80°)
OKLaboklab(63.45% 0.079 -0.1978)
OKLCHoklch(63.45% 0.213 291.8)
XYZxyz(34.5118, 23.0751, 96.3823)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168FE #D5FE68
analogous
#688AFE #9168FE #DC68FE
triadic
#9168FE #FE9168 #68FE91
tetradic
#9168FE #FE688A #D5FE68 #68FEDC
square
#9168FE #FE688A #D5FE68 #68FEDC
split-complementary
#9168FE #FEDC68 #8AFE68
monochromatic
#4102EA #652BFE #9168FE #BDA5FE #E9E1FF

Accessibility & contrast

On white

3.74
#9168FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9168FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168FE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168FE#FFFFFF#000000##000000
##9168FE1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#728AA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9168fe;
/* rgb */ color: rgb(145, 104, 254);
/* oklch */ color: oklch(63.5% 0.213 291.8);
Tailwind
colors: {
  custom: {
    50: '#b895ff',
    500: '#9168fe',
    950: '#000000',
  },
}
SCSS
$custom: #9168fe;
$custom-light: #b895ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9168fe",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 256.4,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63451,
    "c": 0.21305,
    "h": 291.8
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

primary
#9168FE
secondary
#EAF6CC
accent
#E600A7
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9168FE

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

Preview Lab → · Contrast checker → · Palette generator →

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