#7174D3#7174D3

#7174D3 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.142 H 279.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7174D3
RGBrgb(113, 116, 211)
HSLhsl(238, 53%, 64%)
HSVhsv(238, 46%, 83%)
CMYKcmyk(46.4%, 45%, 0%, 17.3%)
CIE-LABlab(52.62, 23.75, -49.48)
CIE-LCHlch(52.62, 54.89, 295.64°)
OKLaboklab(60.08% 0.0243 -0.1403)
OKLCHoklch(60.08% 0.142 279.8)
XYZxyz(24.8098, 20.7034, 64.3043)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174D3 #D3D071
analogous
#71A5D3 #7174D3 #9F71D3
triadic
#7174D3 #D37174 #74D371
tetradic
#7174D3 #D371A5 #D3D071 #71D39F
square
#7174D3 #D371A5 #D3D071 #71D39F
split-complementary
#7174D3 #D39F71 #A5D371
monochromatic
#30339A #4246C5 #7174D3 #A0A2E1 #CECFF0

Accessibility & contrast

On white

4.08
#7174D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7174D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174D3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174D3#FFFFFF#000000##000000
##7174D31.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D7
Deuteranopia (green-blind)
#477AD1
Tritanopia (blue-blind)
#4F8899
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7174d3;
/* rgb */ color: rgb(113, 116, 211);
/* oklch */ color: oklch(60.1% 0.142 279.8);
Tailwind
colors: {
  custom: {
    50: '#9f9ce1',
    500: '#7174d3',
    950: '#000000',
  },
}
SCSS
$custom: #7174d3;
$custom-light: #9f9ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7174d3",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 211
  },
  "hsl": {
    "h": 238.163,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.14238,
    "h": 279.8
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#7174D3
secondary
#E1E0BF
accent
#BB25C0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7174D3

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

Preview Lab → · Contrast checker → · Palette generator →

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