#8165CA#8165CA

#8165CA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.1% C 0.151 H 294.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8165CA
RGBrgb(129, 101, 202)
HSLhsl(257, 49%, 59%)
HSVhsv(257, 50%, 79%)
CMYKcmyk(36.1%, 50%, 0%, 20.8%)
CIE-LABlab(49.78, 34.07, -48.80)
CIE-LCHlch(49.78, 59.52, 304.92°)
OKLaboklab(58.1% 0.0613 -0.1379)
OKLCHoklch(58.1% 0.151 294)
XYZxyz(24.3648, 18.2383, 58.1023)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165CA #AECA65
analogous
#657CCA #8165CA #B465CA
triadic
#8165CA #CA8165 #65CA81
tetradic
#8165CA #CA657C #AECA65 #65CAB4
square
#8165CA #CA657C #AECA65 #65CAB4
split-complementary
#8165CA #CAB465 #7CCA65
monochromatic
#472E86 #5F3EB4 #8165CA #A693DA #CCC0E9

Accessibility & contrast

On white

4.52
#8165CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8165CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165CA#FFFFFF#000000##000000
##8165CA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CE
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#6F798E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8165ca;
/* rgb */ color: rgb(129, 101, 202);
/* oklch */ color: oklch(58.1% 0.151 294.0);
Tailwind
colors: {
  custom: {
    50: '#a991db',
    500: '#8165ca',
    950: '#000000',
  },
}
SCSS
$custom: #8165ca;
$custom-light: #a991db;
$custom-dark: #000000;
JSON
{
  "hex": "#8165ca",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 256.634,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.15094,
    "h": 294
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#8165CA
secondary
#CED9B2
accent
#D84FB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #8165CA

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

Preview Lab → · Contrast checker → · Palette generator →

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