#8173CD#8173CD

#8173CD is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.134 H 288.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8173CD
RGBrgb(129, 115, 205)
HSLhsl(249, 47%, 63%)
HSVhsv(249, 44%, 80%)
CMYKcmyk(37.1%, 43.9%, 0%, 19.6%)
CIE-LABlab(53.31, 26.64, -44.90)
CIE-LCHlch(53.31, 52.21, 300.68°)
OKLaboklab(60.81% 0.0434 -0.1265)
OKLCHoklch(60.81% 0.134 288.9)
XYZxyz(26.2005, 21.3356, 60.4835)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8173CD #BFCD73
analogous
#7392CD #8173CD #AE73CD
triadic
#8173CD #CD8173 #73CD81
tetradic
#8173CD #CD7392 #BFCD73 #73CDAE
square
#8173CD #CD7392 #BFCD73 #73CDAE
split-complementary
#8173CD #CDAE73 #92CD73
monochromatic
#433492 #5846BD #8173CD #AAA0DD #D2CDED

Accessibility & contrast

On white

3.99
#8173CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8173CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8173CD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8173CD#FFFFFF#000000##000000
##8173CD1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#6D8496
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8173cd;
/* rgb */ color: rgb(129, 115, 205);
/* oklch */ color: oklch(60.8% 0.134 288.9);
Tailwind
colors: {
  custom: {
    50: '#a99bdd',
    500: '#8173cd',
    950: '#000000',
  },
}
SCSS
$custom: #8173cd;
$custom-light: #a99bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8173cd",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 249.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60811,
    "c": 0.13373,
    "h": 288.9
  },
  "luminance": 0.21336
}

Semantic roles & 50–950 ramp

primary
#8173CD
secondary
#D9DEBE
accent
#BB2BA4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8173CD

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

Preview Lab → · Contrast checker → · Palette generator →

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