#8170CA#8170CA

#8170CA is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.1% C 0.134 H 290.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8170CA
RGBrgb(129, 112, 202)
HSLhsl(251, 46%, 62%)
HSVhsv(251, 45%, 79%)
CMYKcmyk(36.1%, 44.6%, 0%, 20.8%)
CIE-LABlab(52.42, 27.59, -44.61)
CIE-LCHlch(52.42, 52.45, 301.74°)
OKLaboklab(60.08% 0.0469 -0.1257)
OKLCHoklch(60.08% 0.134 290.5)
XYZxyz(25.5053, 20.5191, 58.4824)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8170CA #B9CA70
analogous
#708CCA #8170CA #AE70CA
triadic
#8170CA #CA8170 #70CA81
tetradic
#8170CA #CA708C #B9CA70 #70CAAE
square
#8170CA #CA708C #B9CA70 #70CAAE
split-complementary
#8170CA #CAAE70 #8CCA70
monochromatic
#44348C #5A44B8 #8170CA #A89DDB #D0C9EB

Accessibility & contrast

On white

4.11
#8170CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8170CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8170CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8170CA#FFFFFF#000000##000000
##8170CA1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCD
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#6F8193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8170ca;
/* rgb */ color: rgb(129, 112, 202);
/* oklch */ color: oklch(60.1% 0.134 290.5);
Tailwind
colors: {
  custom: {
    50: '#a899da',
    500: '#8170ca',
    950: '#000000',
  },
}
SCSS
$custom: #8170ca;
$custom-light: #a899da;
$custom-dark: #000000;
JSON
{
  "hex": "#8170ca",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 251.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.13412,
    "h": 290.5
  },
  "luminance": 0.2052
}

Semantic roles & 50–950 ramp

primary
#8170CA
secondary
#D5DCBA
accent
#B92C9F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8170CA

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

Preview Lab → · Contrast checker → · Palette generator →

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