#7174CD#7174CD

#7174CD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.134 H 280.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7174CD
RGBrgb(113, 116, 205)
HSLhsl(238, 48%, 62%)
HSVhsv(238, 45%, 80%)
CMYKcmyk(44.9%, 43.4%, 0%, 19.6%)
CIE-LABlab(52.30, 21.97, -46.60)
CIE-LCHlch(52.30, 51.51, 295.24°)
OKLaboklab(59.72% 0.0234 -0.1318)
OKLCHoklch(59.72% 0.134 280.1)
XYZxyz(24.0716, 20.4081, 60.4166)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174CD #CDCA71
analogous
#71A2CD #7174CD #9C71CD
triadic
#7174CD #CD7174 #74CD71
tetradic
#7174CD #CD71A2 #CDCA71 #71CD9C
square
#7174CD #CD71A2 #CDCA71 #71CD9C
split-complementary
#7174CD #CD9C71 #A2CD71
monochromatic
#333691 #4448BD #7174CD #9EA0DD #CCCDED

Accessibility & contrast

On white

4.13
#7174CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7174CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174CD#FFFFFF#000000##000000
##7174CD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#4C79CB
Tritanopia (blue-blind)
#528696
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7174cd;
/* rgb */ color: rgb(113, 116, 205);
/* oklch */ color: oklch(59.7% 0.134 280.1);
Tailwind
colors: {
  custom: {
    50: '#9e9cdd',
    500: '#7174cd',
    950: '#000000',
  },
}
SCSS
$custom: #7174cd;
$custom-light: #9e9cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7174cd",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 238.043,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59722,
    "c": 0.1339,
    "h": 280.1
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#7174CD
secondary
#DEDDBC
accent
#B62ABB
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7174CD

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

Preview Lab → · Contrast checker → · Palette generator →

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