#7174D1#7174D1

#7174D1 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.140 H 279.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7174D1
RGBrgb(113, 116, 209)
HSLhsl(238, 51%, 63%)
HSVhsv(238, 46%, 82%)
CMYKcmyk(45.9%, 44.5%, 0%, 18%)
CIE-LABlab(52.51, 23.16, -48.52)
CIE-LCHlch(52.51, 53.77, 295.51°)
OKLaboklab(59.96% 0.024 -0.1375)
OKLCHoklch(59.96% 0.14 279.9)
XYZxyz(24.5606, 20.6037, 62.9920)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174D1 #D1CE71
analogous
#71A4D1 #7174D1 #9E71D1
triadic
#7174D1 #D17174 #74D171
tetradic
#7174D1 #D171A4 #D1CE71 #71D19E
square
#7174D1 #D171A4 #D1CE71 #71D19E
split-complementary
#7174D1 #D19E71 #A4D171
monochromatic
#313497 #4347C2 #7174D1 #9FA1E0 #CDCEEF

Accessibility & contrast

On white

4.10
#7174D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7174D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174D1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174D1#FFFFFF#000000##000000
##7174D11.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D4
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#508798
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7174d1;
/* rgb */ color: rgb(113, 116, 209);
/* oklch */ color: oklch(60.0% 0.140 279.9);
Tailwind
colors: {
  custom: {
    50: '#9f9cdf',
    500: '#7174d1',
    950: '#000000',
  },
}
SCSS
$custom: #7174d1;
$custom-light: #9f9cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7174d1",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 209
  },
  "hsl": {
    "h": 238.125,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.13956,
    "h": 279.9
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#7174D1
secondary
#E0DFBE
accent
#BA27BE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7174D1

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

Preview Lab → · Contrast checker → · Palette generator →

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