#8165F8#8165F8

#8165F8 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.2% C 0.210 H 287.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8165F8
RGBrgb(129, 101, 248)
HSLhsl(251, 91%, 68%)
HSVhsv(251, 59%, 97%)
CMYKcmyk(48%, 59.3%, 0%, 2.7%)
CIE-LABlab(52.68, 46.84, -70.11)
CIE-LCHlch(52.68, 84.32, 303.75°)
OKLaboklab(61.17% 0.0622 -0.2005)
OKLCHoklch(61.17% 0.21 287.2)
XYZxyz(30.6453, 20.7504, 91.1792)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165F8 #DCF865
analogous
#6592F8 #8165F8 #CB65F8
triadic
#8165F8 #F88165 #65F881
tetradic
#8165F8 #F86592 #DCF865 #65F8CB
square
#8165F8 #F86592 #DCF865 #65F8CB
split-complementary
#8165F8 #F8CB65 #92F865
monochromatic
#310AD9 #512AF5 #8165F8 #B1A0FB #E1DAFD

Accessibility & contrast

On white

4.08
#8165F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8165F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165F8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165F8#FFFFFF#000000##000000
##8165F81.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)
#0081FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#5887A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8165f8;
/* rgb */ color: rgb(129, 101, 248);
/* oklch */ color: oklch(61.2% 0.210 287.2);
Tailwind
colors: {
  custom: {
    50: '#ae92fb',
    500: '#8165f8',
    950: '#000000',
  },
}
SCSS
$custom: #8165f8;
$custom-light: #ae92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8165f8",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 248
  },
  "hsl": {
    "h": 251.429,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.20996,
    "h": 287.2
  },
  "luminance": 0.20752
}

Semantic roles & 50–950 ramp

primary
#8165F8
secondary
#EAF3C6
accent
#E600BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8165F8

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

Preview Lab → · Contrast checker → · Palette generator →

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