#7170AA#7170AA

#7170AA is a mid, moderate blue. Relative luminance 0.180; OKLCH L 57.0% C 0.089 H 284.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7170AA
RGBrgb(113, 112, 170)
HSLhsl(241, 25%, 55%)
HSVhsv(241, 34%, 67%)
CMYKcmyk(33.5%, 34.1%, 0%, 33.3%)
CIE-LABlab(49.50, 14.37, -30.85)
CIE-LCHlch(49.50, 34.03, 294.98°)
OKLaboklab(57.01% 0.0215 -0.086)
OKLCHoklch(57.01% 0.089 284)
XYZxyz(19.8580, 18.0008, 40.4506)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170AA #A9AA70
analogous
#708CAA #7170AA #8E70AA
triadic
#7170AA #AA7170 #70AA71
tetradic
#7170AA #AA708C #A9AA70 #70AA8E
square
#7170AA #AA708C #A9AA70 #70AA8E
split-complementary
#7170AA #AA8E70 #8CAA70
monochromatic
#3C3B64 #53528A #7170AA #9796C1 #BDBDD8

Accessibility & contrast

On white

4.57
#7170AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7170AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170AA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170AA#FFFFFF#000000##000000
##7170AA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AC
Deuteranopia (green-blind)
#5D74A9
Tritanopia (blue-blind)
#627B85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7170aa;
/* rgb */ color: rgb(113, 112, 170);
/* oklch */ color: oklch(57.0% 0.089 284.0);
Tailwind
colors: {
  custom: {
    50: '#9b99c3',
    500: '#7170aa',
    950: '#000000',
  },
}
SCSS
$custom: #7170aa;
$custom-light: #9b99c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7170aa",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 241.034,
    "s": 25.439,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5701,
    "c": 0.08868,
    "h": 284
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

primary
#7170AA
secondary
#C7C7AF
accent
#C266C0
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0D12
muted
#7E7E81

Preview Lab

Preview with #7170AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7170AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva