#9166FD#9166FD

#9166FD is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.1% C 0.214 H 292.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9166FD
RGBrgb(145, 102, 253)
HSLhsl(257, 97%, 70%)
HSVhsv(257, 60%, 99%)
CMYKcmyk(42.7%, 59.7%, 0%, 0.8%)
CIE-LABlab(54.67, 50.85, -69.58)
CIE-LCHlch(54.67, 86.18, 306.16°)
OKLaboklab(63.08% 0.0812 -0.1985)
OKLCHoklch(63.08% 0.214 292.3)
XYZxyz(34.1532, 22.6133, 95.4748)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166FD #D2FD66
analogous
#6687FD #9166FD #DC66FD
triadic
#9166FD #FD9166 #66FD91
tetradic
#9166FD #FD6687 #D2FD66 #66FDDC
square
#9166FD #FD6687 #D2FD66 #66FDDC
split-complementary
#9166FD #FDDC66 #87FD66
monochromatic
#4403E6 #662AFC #9166FD #BCA2FE #E8DFFF

Accessibility & contrast

On white

3.80
#9166FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9166FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166FD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166FD#FFFFFF#000000##000000
##9166FD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#7288A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9166fd;
/* rgb */ color: rgb(145, 102, 253);
/* oklch */ color: oklch(63.1% 0.214 292.3);
Tailwind
colors: {
  custom: {
    50: '#b893ff',
    500: '#9166fd',
    950: '#000000',
  },
}
SCSS
$custom: #9166fd;
$custom-light: #b893ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9166fd",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 257.086,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63081,
    "c": 0.21448,
    "h": 292.3
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#9166FD
secondary
#E9F5CA
accent
#E600A4
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9166FD

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

Preview Lab → · Contrast checker → · Palette generator →

#9166FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva