#8165DD#8165DD

#8165DD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.3% C 0.176 H 290.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8165DD
RGBrgb(129, 101, 221)
HSLhsl(254, 64%, 63%)
HSVhsv(254, 54%, 87%)
CMYKcmyk(41.6%, 54.3%, 0%, 13.3%)
CIE-LABlab(50.91, 39.26, -57.81)
CIE-LCHlch(50.91, 69.88, 304.18°)
OKLaboklab(59.31% 0.0624 -0.1644)
OKLCHoklch(59.31% 0.176 290.8)
XYZxyz(26.7545, 19.1941, 70.6878)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165DD #C1DD65
analogous
#6585DD #8165DD #BD65DD
triadic
#8165DD #DD8165 #65DD81
tetradic
#8165DD #DD6585 #C1DD65 #65DDBD
square
#8165DD #DD6585 #C1DD65 #65DDBD
split-complementary
#8165DD #DDBD65 #85DD65
monochromatic
#4224A4 #5833D2 #8165DD #AA97E8 #D3C9F3

Accessibility & contrast

On white

4.34
#8165DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8165DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165DD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165DD#FFFFFF#000000##000000
##8165DD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE1
Deuteranopia (green-blind)
#2E77DA
Tritanopia (blue-blind)
#677F97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8165dd;
/* rgb */ color: rgb(129, 101, 221);
/* oklch */ color: oklch(59.3% 0.176 290.8);
Tailwind
colors: {
  custom: {
    50: '#ab91e8',
    500: '#8165dd',
    950: '#000000',
  },
}
SCSS
$custom: #8165dd;
$custom-light: #ab91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8165dd",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 254,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.17582,
    "h": 290.8
  },
  "luminance": 0.19195
}

Semantic roles & 50–950 ramp

primary
#8165DD
secondary
#DAE4B9
accent
#CC1AA2
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8165DD

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

Preview Lab → · Contrast checker → · Palette generator →

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