#8165CD#8165CD

#8165CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.3% C 0.155 H 293.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8165CD
RGBrgb(129, 101, 205)
HSLhsl(256, 51%, 60%)
HSVhsv(256, 51%, 80%)
CMYKcmyk(37.1%, 50.7%, 0%, 19.6%)
CIE-LABlab(49.96, 34.88, -50.24)
CIE-LCHlch(49.96, 61.16, 304.77°)
OKLaboklab(58.29% 0.0616 -0.1422)
OKLCHoklch(58.29% 0.155 293.4)
XYZxyz(24.7235, 18.3817, 59.9912)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165CD #B1CD65
analogous
#657DCD #8165CD #B565CD
triadic
#8165CD #CD8165 #65CD81
tetradic
#8165CD #CD657D #B1CD65 #65CDB5
square
#8165CD #CD657D #B1CD65 #65CDB5
split-complementary
#8165CD #CDB565 #7DCD65
monochromatic
#462D8B #5E3CB9 #8165CD #A793DC #CDC1EB

Accessibility & contrast

On white

4.49
#8165CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8165CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165CD#FFFFFF#000000##000000
##8165CD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#6E7A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8165cd;
/* rgb */ color: rgb(129, 101, 205);
/* oklch */ color: oklch(58.3% 0.155 293.4);
Tailwind
colors: {
  custom: {
    50: '#a991dd',
    500: '#8165cd',
    950: '#000000',
  },
}
SCSS
$custom: #8165cd;
$custom-light: #a991dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8165cd",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 256.154,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.15492,
    "h": 293.4
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#8165CD
secondary
#D0DBB3
accent
#DA4DB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #8165CD

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

Preview Lab → · Contrast checker → · Palette generator →

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