#9168EA#9168EA

#9168EA is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.1% C 0.189 H 294.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9168EA
RGBrgb(145, 104, 234)
HSLhsl(259, 76%, 66%)
HSVhsv(259, 56%, 92%)
CMYKcmyk(38%, 55.6%, 0%, 8.2%)
CIE-LABlab(53.88, 44.72, -60.28)
CIE-LCHlch(53.88, 75.06, 306.57°)
OKLaboklab(62.11% 0.0793 -0.1712)
OKLCHoklch(62.11% 0.189 294.9)
XYZxyz(31.4748, 21.8602, 80.3871)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168EA #C1EA68
analogous
#6880EA #9168EA #D268EA
triadic
#9168EA #EA9168 #68EA91
tetradic
#9168EA #EA6880 #C1EA68 #68EAD2
square
#9168EA #EA6880 #C1EA68 #68EAD2
split-complementary
#9168EA #EAD268 #80EA68
monochromatic
#4E1ABD #6A32E3 #9168EA #B89EF1 #DFD3F9

Accessibility & contrast

On white

3.91
#9168EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9168EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168EA#FFFFFF#000000##000000
##9168EA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EE
Deuteranopia (green-blind)
#357FE7
Tritanopia (blue-blind)
#7B839F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9168ea;
/* rgb */ color: rgb(145, 104, 234);
/* oklch */ color: oklch(62.1% 0.189 294.9);
Tailwind
colors: {
  custom: {
    50: '#b694f1',
    500: '#9168ea',
    950: '#000000',
  },
}
SCSS
$custom: #9168ea;
$custom-light: #b694f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9168ea",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 258.923,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62112,
    "c": 0.18863,
    "h": 294.9
  },
  "luminance": 0.21861
}

Semantic roles & 50–950 ramp

primary
#9168EA
secondary
#DFECC2
accent
#D80E98
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9168EA

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

Preview Lab → · Contrast checker → · Palette generator →

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