#9168EC#9168EC

#9168EC is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.2% C 0.191 H 294.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9168EC
RGBrgb(145, 104, 236)
HSLhsl(259, 78%, 67%)
HSVhsv(259, 56%, 93%)
CMYKcmyk(38.6%, 55.9%, 0%, 7.5%)
CIE-LABlab(54.00, 45.25, -61.20)
CIE-LCHlch(54.00, 76.11, 306.48°)
OKLaboklab(62.24% 0.0793 -0.1739)
OKLCHoklch(62.24% 0.191 294.5)
XYZxyz(31.7637, 21.9758, 81.9088)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168EC #C3EC68
analogous
#6881EC #9168EC #D368EC
triadic
#9168EC #EC9168 #68EC91
tetradic
#9168EC #EC6881 #C3EC68 #68ECD3
square
#9168EC #EC6881 #C3EC68 #68ECD3
split-complementary
#9168EC #ECD368 #81EC68
monochromatic
#4D18C1 #6932E5 #9168EC #B99EF3 #E0D5FA

Accessibility & contrast

On white

3.89
#9168EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9168EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168EC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168EC#FFFFFF#000000##000000
##9168EC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F0
Deuteranopia (green-blind)
#327FE9
Tritanopia (blue-blind)
#7A84A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9168ec;
/* rgb */ color: rgb(145, 104, 236);
/* oklch */ color: oklch(62.2% 0.191 294.5);
Tailwind
colors: {
  custom: {
    50: '#b694f3',
    500: '#9168ec',
    950: '#000000',
  },
}
SCSS
$custom: #9168ec;
$custom-light: #b694f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9168ec",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 258.636,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.1911,
    "h": 294.5
  },
  "luminance": 0.21977
}

Semantic roles & 50–950 ramp

primary
#9168EC
secondary
#E0EDC3
accent
#DA0C9A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9168EC

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

Preview Lab → · Contrast checker → · Palette generator →

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