#9168F3#9168F3

#9168F3 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.200 H 293.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9168F3
RGBrgb(145, 104, 243)
HSLhsl(258, 85%, 68%)
HSVhsv(258, 57%, 95%)
CMYKcmyk(40.3%, 57.2%, 0%, 4.7%)
CIE-LABlab(54.44, 47.10, -64.40)
CIE-LCHlch(54.44, 79.79, 306.18°)
OKLaboklab(62.7% 0.0793 -0.1833)
OKLCHoklch(62.7% 0.2 293.4)
XYZxyz(32.8007, 22.3906, 87.3703)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168F3 #CAF368
analogous
#6884F3 #9168F3 #D768F3
triadic
#9168F3 #F39168 #68F391
tetradic
#9168F3 #F36884 #CAF368 #68F3D7
square
#9168F3 #F36884 #CAF368 #68F3D7
split-complementary
#9168F3 #F3D768 #84F368
monochromatic
#4911D0 #682FEE #9168F3 #BAA1F8 #E4D9FC

Accessibility & contrast

On white

3.83
#9168F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9168F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168F3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168F3#FFFFFF#000000##000000
##9168F31.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1084F8
Deuteranopia (green-blind)
#2580F0
Tritanopia (blue-blind)
#7786A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9168f3;
/* rgb */ color: rgb(145, 104, 243);
/* oklch */ color: oklch(62.7% 0.200 293.4);
Tailwind
colors: {
  custom: {
    50: '#b794f8',
    500: '#9168f3',
    950: '#000000',
  },
}
SCSS
$custom: #9168f3;
$custom-light: #b794f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9168f3",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 243
  },
  "hsl": {
    "h": 257.698,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62704,
    "c": 0.1997,
    "h": 293.4
  },
  "luminance": 0.22391
}

Semantic roles & 50–950 ramp

primary
#9168F3
secondary
#E4F1C6
accent
#E204A0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9168F3

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

Preview Lab → · Contrast checker → · Palette generator →

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