#9168FB#9168FB

#9168FB is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.2% C 0.209 H 292.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9168FB
RGBrgb(145, 104, 251)
HSLhsl(257, 95%, 70%)
HSVhsv(257, 59%, 98%)
CMYKcmyk(42.2%, 58.6%, 0%, 1.6%)
CIE-LABlab(54.95, 49.23, -68.02)
CIE-LCHlch(54.95, 83.96, 305.89°)
OKLaboklab(63.24% 0.0791 -0.1939)
OKLCHoklch(63.24% 0.209 292.2)
XYZxyz(34.0352, 22.8844, 93.8720)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168FB #D2FB68
analogous
#6888FB #9168FB #DB68FB
triadic
#9168FB #FB9168 #68FB91
tetradic
#9168FB #FB6888 #D2FB68 #68FBDB
square
#9168FB #FB6888 #D2FB68 #68FBDB
split-complementary
#9168FB #FBDB68 #88FB68
monochromatic
#4406E3 #662CF9 #9168FB #BCA4FD #E8DFFE

Accessibility & contrast

On white

3.77
#9168FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9168FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168FB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168FB#FFFFFF#000000##000000
##9168FB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0B81F8
Tritanopia (blue-blind)
#7389A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9168fb;
/* rgb */ color: rgb(145, 104, 251);
/* oklch */ color: oklch(63.2% 0.209 292.2);
Tailwind
colors: {
  custom: {
    50: '#b895fd',
    500: '#9168fb',
    950: '#000000',
  },
}
SCSS
$custom: #9168fb;
$custom-light: #b895fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9168fb",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 256.735,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63244,
    "c": 0.20942,
    "h": 292.2
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

primary
#9168FB
secondary
#E9F4CA
accent
#E600A5
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9168FB

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

Preview Lab → · Contrast checker → · Palette generator →

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