#8165CC#8165CC

#8165CC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.2% C 0.154 H 293.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8165CC
RGBrgb(129, 101, 204)
HSLhsl(256, 50%, 60%)
HSVhsv(256, 50%, 80%)
CMYKcmyk(36.8%, 50.5%, 0%, 20%)
CIE-LABlab(49.90, 34.61, -49.76)
CIE-LCHlch(49.90, 60.62, 304.82°)
OKLaboklab(58.23% 0.0615 -0.1407)
OKLCHoklch(58.23% 0.154 293.6)
XYZxyz(24.6032, 18.3336, 59.3575)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165CC #B0CC65
analogous
#657CCC #8165CC #B565CC
triadic
#8165CC #CC8165 #65CC81
tetradic
#8165CC #CC657C #B0CC65 #65CCB5
square
#8165CC #CC657C #B0CC65 #65CCB5
split-complementary
#8165CC #CCB565 #7CCC65
monochromatic
#462D89 #5E3DB7 #8165CC #A793DB #CCC1EA

Accessibility & contrast

On white

4.50
#8165CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8165CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165CC#FFFFFF#000000##000000
##8165CC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#6F7A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8165cc;
/* rgb */ color: rgb(129, 101, 204);
/* oklch */ color: oklch(58.2% 0.154 293.6);
Tailwind
colors: {
  custom: {
    50: '#a991dc',
    500: '#8165cc',
    950: '#000000',
  },
}
SCSS
$custom: #8165cc;
$custom-light: #a991dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8165cc",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 256.311,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.15359,
    "h": 293.6
  },
  "luminance": 0.18334
}

Semantic roles & 50–950 ramp

primary
#8165CC
secondary
#CFDAB2
accent
#DA4EB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #8165CC

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

Preview Lab → · Contrast checker → · Palette generator →

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