#8165EA#8165EA

#8165EA is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.192 H 289.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8165EA
RGBrgb(129, 101, 234)
HSLhsl(253, 76%, 66%)
HSVhsv(253, 57%, 92%)
CMYKcmyk(44.9%, 56.8%, 0%, 8.2%)
CIE-LABlab(51.74, 42.89, -63.80)
CIE-LCHlch(51.74, 76.88, 303.91°)
OKLaboklab(60.18% 0.0626 -0.182)
OKLCHoklch(60.18% 0.192 289)
XYZxyz(28.5540, 19.9139, 80.1652)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165EA #CEEA65
analogous
#658BEA #8165EA #C465EA
triadic
#8165EA #EA8165 #65EA81
tetradic
#8165EA #EA658B #CEEA65 #65EAC4
square
#8165EA #EA658B #CEEA65 #65EAC4
split-complementary
#8165EA #EAC465 #8BEA65
monochromatic
#3C1ABB #552FE3 #8165EA #AD9BF1 #D9D1F9

Accessibility & contrast

On white

4.21
#8165EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8165EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165EA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165EA#FFFFFF#000000##000000
##8165EA1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#067EEE
Deuteranopia (green-blind)
#1078E7
Tritanopia (blue-blind)
#61839E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8165ea;
/* rgb */ color: rgb(129, 101, 234);
/* oklch */ color: oklch(60.2% 0.192 289.0);
Tailwind
colors: {
  custom: {
    50: '#ac92f1',
    500: '#8165ea',
    950: '#000000',
  },
}
SCSS
$custom: #8165ea;
$custom-light: #ac92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8165ea",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 252.632,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.19245,
    "h": 289
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#8165EA
secondary
#E2ECBF
accent
#D80DAD
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8165EA

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

Preview Lab → · Contrast checker → · Palette generator →

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