#8165FA#8165FA

#8165FA is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.3% C 0.212 H 287.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8165FA
RGBrgb(129, 101, 250)
HSLhsl(251, 94%, 69%)
HSVhsv(251, 60%, 98%)
CMYKcmyk(48.4%, 59.6%, 0%, 2%)
CIE-LABlab(52.81, 47.41, -71.00)
CIE-LCHlch(52.81, 85.37, 303.73°)
OKLaboklab(61.31% 0.0621 -0.2031)
OKLCHoklch(61.31% 0.212 287)
XYZxyz(30.9572, 20.8752, 92.8221)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165FA #DEFA65
analogous
#6594FA #8165FA #CC65FA
triadic
#8165FA #FA8165 #65FA81
tetradic
#8165FA #FA6594 #DEFA65 #65FACC
square
#8165FA #FA6594 #DEFA65 #65FACC
split-complementary
#8165FA #FACC65 #94FA65
monochromatic
#2F07DD #512AF8 #8165FA #B1A0FC #E2DCFE

Accessibility & contrast

On white

4.06
#8165FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8165FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165FA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165FA#FFFFFF#000000##000000
##8165FA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#5788A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8165fa;
/* rgb */ color: rgb(129, 101, 250);
/* oklch */ color: oklch(61.3% 0.212 287.0);
Tailwind
colors: {
  custom: {
    50: '#ae92fd',
    500: '#8165fa',
    950: '#000000',
  },
}
SCSS
$custom: #8165fa;
$custom-light: #ae92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8165fa",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 250
  },
  "hsl": {
    "h": 251.275,
    "s": 93.711,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.21244,
    "h": 287
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8165FA

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

Preview Lab → · Contrast checker → · Palette generator →

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