#7174E7#7174E7

#7174E7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.170 H 279.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7174E7
RGBrgb(113, 116, 231)
HSLhsl(238, 71%, 67%)
HSVhsv(238, 51%, 91%)
CMYKcmyk(51.1%, 49.8%, 0%, 9.4%)
CIE-LABlab(53.78, 29.82, -58.90)
CIE-LCHlch(53.78, 66.02, 296.85°)
OKLaboklab(61.33% 0.0266 -0.1679)
OKLCHoklch(61.33% 0.17 279)
XYZxyz(27.4748, 21.7694, 78.3400)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174E7 #E7E471
analogous
#71AFE7 #7174E7 #A971E7
triadic
#7174E7 #E77174 #74E771
tetradic
#7174E7 #E771AF #E7E471 #71E7A9
square
#7174E7 #E771AF #E7E471 #71E7A9
split-complementary
#7174E7 #E7A971 #AFE771
monochromatic
#2024BE #3D41DE #7174E7 #A5A7F0 #DADAF9

Accessibility & contrast

On white

3.92
#7174E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7174E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174E7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174E7#FFFFFF#000000##000000
##7174E71.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EB
Deuteranopia (green-blind)
#2F7CE5
Tritanopia (blue-blind)
#408DA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7174e7;
/* rgb */ color: rgb(113, 116, 231);
/* oklch */ color: oklch(61.3% 0.170 279.0);
Tailwind
colors: {
  custom: {
    50: '#a19cef',
    500: '#7174e7',
    950: '#000000',
  },
}
SCSS
$custom: #7174e7;
$custom-light: #a19cef;
$custom-dark: #000000;
JSON
{
  "hex": "#7174e7",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 238.475,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61327,
    "c": 0.17003,
    "h": 279
  },
  "luminance": 0.21771
}

Semantic roles & 50–950 ramp

primary
#7174E7
secondary
#ECEBC7
accent
#CE12D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7174E7

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

Preview Lab → · Contrast checker → · Palette generator →

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