#8173CA#8173CA

#8173CA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.130 H 289.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8173CA
RGBrgb(129, 115, 202)
HSLhsl(250, 45%, 62%)
HSVhsv(250, 43%, 79%)
CMYKcmyk(36.1%, 43.1%, 0%, 20.8%)
CIE-LABlab(53.16, 25.82, -43.44)
CIE-LCHlch(53.16, 50.53, 300.72°)
OKLaboklab(60.64% 0.0429 -0.1222)
OKLCHoklch(60.64% 0.13 289.3)
XYZxyz(25.8418, 21.1922, 58.5946)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8173CA #BCCA73
analogous
#7391CA #8173CA #AD73CA
triadic
#8173CA #CA8173 #73CA81
tetradic
#8173CA #CA7391 #BCCA73 #73CAAD
square
#8173CA #CA7391 #BCCA73 #73CAAD
split-complementary
#8173CA #CAAD73 #91CA73
monochromatic
#44358D #5947B9 #8173CA #A99FDB #D1CCEC

Accessibility & contrast

On white

4.01
#8173CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8173CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8173CA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8173CA#FFFFFF#000000##000000
##8173CA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#6E8495
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8173ca;
/* rgb */ color: rgb(129, 115, 202);
/* oklch */ color: oklch(60.6% 0.130 289.3);
Tailwind
colors: {
  custom: {
    50: '#a89bda',
    500: '#8173ca',
    950: '#000000',
  },
}
SCSS
$custom: #8173ca;
$custom-light: #a89bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8173ca",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 249.655,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.12955,
    "h": 289.3
  },
  "luminance": 0.21193
}

Semantic roles & 50–950 ramp

primary
#8173CA
secondary
#D7DCBC
accent
#B82DA2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8173CA

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

Preview Lab → · Contrast checker → · Palette generator →

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