#7173D9#7173D9

#7173D9 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.152 H 280.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7173D9
RGBrgb(113, 115, 217)
HSLhsl(239, 58%, 65%)
HSVhsv(239, 48%, 85%)
CMYKcmyk(47.9%, 47%, 0%, 14.9%)
CIE-LABlab(52.71, 26.16, -52.74)
CIE-LCHlch(52.71, 58.87, 296.38°)
OKLaboklab(60.25% 0.0263 -0.1499)
OKLCHoklch(60.25% 0.152 280)
XYZxyz(25.4614, 20.7806, 68.3016)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173D9 #D9D771
analogous
#71A7D9 #7173D9 #A371D9
triadic
#7173D9 #D97173 #73D971
tetradic
#7173D9 #D971A7 #D9D771 #71D9A3
square
#7173D9 #D971A7 #D9D771 #71D9A3
split-complementary
#7173D9 #D9A371 #A7D971
monochromatic
#2C2EA4 #4143CC #7173D9 #A1A3E6 #D2D2F3

Accessibility & contrast

On white

4.07
#7173D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7173D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173D9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173D9#FFFFFF#000000##000000
##7173D91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#4B899C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7173d9;
/* rgb */ color: rgb(113, 115, 217);
/* oklch */ color: oklch(60.3% 0.152 280.0);
Tailwind
colors: {
  custom: {
    50: '#a09be5',
    500: '#7173d9',
    950: '#000000',
  },
}
SCSS
$custom: #7173d9;
$custom-light: #a09be5;
$custom-dark: #000000;
JSON
{
  "hex": "#7173d9",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 217
  },
  "hsl": {
    "h": 238.846,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60252,
    "c": 0.15215,
    "h": 280
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#7173D9
secondary
#E5E4C1
accent
#C220C5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7173D9

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

Preview Lab → · Contrast checker → · Palette generator →

#7173D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva