#7174B7#7174B7

#7174B7 is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.5% C 0.102 H 280.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7174B7
RGBrgb(113, 116, 183)
HSLhsl(237, 33%, 58%)
HSVhsv(237, 38%, 72%)
CMYKcmyk(38.3%, 36.6%, 0%, 28.2%)
CIE-LABlab(51.17, 15.58, -35.76)
CIE-LCHlch(51.17, 39.01, 293.54°)
OKLaboklab(58.5% 0.0191 -0.1003)
OKLCHoklch(58.5% 0.102 280.8)
XYZxyz(21.6002, 19.4196, 47.4008)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174B7 #B7B471
analogous
#7197B7 #7174B7 #9171B7
triadic
#7174B7 #B77174 #74B771
tetradic
#7174B7 #B77197 #B7B471 #71B791
square
#7174B7 #B77197 #B7B471 #71B791
split-complementary
#7174B7 #B79171 #97B771
monochromatic
#3A3D73 #4F529C #7174B7 #9A9CCC #C2C4E0

Accessibility & contrast

On white

4.30
#7174B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7174B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174B7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174B7#FFFFFF#000000##000000
##7174B71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CBA
Deuteranopia (green-blind)
#5A78B5
Tritanopia (blue-blind)
#5D818D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7174b7;
/* rgb */ color: rgb(113, 116, 183);
/* oklch */ color: oklch(58.5% 0.102 280.8);
Tailwind
colors: {
  custom: {
    50: '#9c9bcd',
    500: '#7174b7',
    950: '#000000',
  },
}
SCSS
$custom: #7174b7;
$custom-light: #9c9bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7174b7",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 183
  },
  "hsl": {
    "h": 237.429,
    "s": 32.71,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.10205,
    "h": 280.8
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#7174B7
secondary
#D0CFB4
accent
#C45FC9
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E13
muted
#7E7E82

Preview Lab

Preview with #7174B7

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

Preview Lab → · Contrast checker → · Palette generator →

#7174B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva