#8165FB#8165FB

#8165FB is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.4% C 0.214 H 286.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8165FB
RGBrgb(129, 101, 251)
HSLhsl(251, 95%, 69%)
HSVhsv(251, 60%, 98%)
CMYKcmyk(48.6%, 59.8%, 0%, 1.6%)
CIE-LABlab(52.88, 47.69, -71.44)
CIE-LCHlch(52.88, 85.90, 303.73°)
OKLaboklab(61.38% 0.0621 -0.2044)
OKLCHoklch(61.38% 0.214 286.9)
XYZxyz(31.1144, 20.9381, 93.6501)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165FB #DFFB65
analogous
#6594FB #8165FB #CC65FB
triadic
#8165FB #FB8165 #65FB81
tetradic
#8165FB #FB6594 #DFFB65 #65FBCC
square
#8165FB #FB6594 #DFFB65 #65FBCC
split-complementary
#8165FB #FBCC65 #94FB65
monochromatic
#2F06E0 #5029F9 #8165FB #B2A1FD #E3DCFE

Accessibility & contrast

On white

4.05
#8165FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8165FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165FB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165FB#FFFFFF#000000##000000
##8165FB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#5688A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8165fb;
/* rgb */ color: rgb(129, 101, 251);
/* oklch */ color: oklch(61.4% 0.214 286.9);
Tailwind
colors: {
  custom: {
    50: '#ae92fe',
    500: '#8165fb',
    950: '#000000',
  },
}
SCSS
$custom: #8165fb;
$custom-light: #ae92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8165fb",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 251
  },
  "hsl": {
    "h": 251.2,
    "s": 94.937,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.21367,
    "h": 286.9
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#8165FB
secondary
#ECF4C8
accent
#E600BB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8165FB

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

Preview Lab → · Contrast checker → · Palette generator →

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