#8164FB#8164FB

#8164FB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.2% C 0.215 H 287.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8164FB
RGBrgb(129, 100, 251)
HSLhsl(252, 95%, 69%)
HSVhsv(252, 60%, 98%)
CMYKcmyk(48.6%, 60.2%, 0%, 1.6%)
CIE-LABlab(52.67, 48.25, -71.78)
CIE-LCHlch(52.67, 86.49, 303.91°)
OKLaboklab(61.23% 0.0631 -0.2055)
OKLCHoklch(61.23% 0.215 287.1)
XYZxyz(31.0179, 20.7451, 93.6179)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8164FB #DEFB64
analogous
#6493FB #8164FB #CD64FB
triadic
#8164FB #FB8164 #64FB81
tetradic
#8164FB #FB6493 #DEFB64 #64FBCD
square
#8164FB #FB6493 #DEFB64 #64FBCD
split-complementary
#8164FB #FBCD64 #93FB64
monochromatic
#2F06DF #5128F9 #8164FB #B1A0FD #E2DBFE

Accessibility & contrast

On white

4.08
#8164FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8164FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8164FB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8164FB#FFFFFF#000000##000000
##8164FB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#5687A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8164fb;
/* rgb */ color: rgb(129, 100, 251);
/* oklch */ color: oklch(61.2% 0.215 287.1);
Tailwind
colors: {
  custom: {
    50: '#ae91fe',
    500: '#8164fb',
    950: '#000000',
  },
}
SCSS
$custom: #8164fb;
$custom-light: #ae91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8164fb",
  "rgb": {
    "r": 129,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 251.523,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.21494,
    "h": 287.1
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#8164FB
secondary
#EBF4C7
accent
#E600B9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8164FB

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

Preview Lab → · Contrast checker → · Palette generator →

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