#7174EA#7174EA

#7174EA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.5% C 0.174 H 278.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7174EA
RGBrgb(113, 116, 234)
HSLhsl(239, 74%, 68%)
HSVhsv(239, 52%, 92%)
CMYKcmyk(51.7%, 50.4%, 0%, 8.2%)
CIE-LABlab(53.96, 30.74, -60.29)
CIE-LCHlch(53.96, 67.67, 297.01°)
OKLaboklab(61.52% 0.0269 -0.172)
OKLCHoklch(61.52% 0.174 278.9)
XYZxyz(27.9021, 21.9403, 80.5906)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174EA #EAE771
analogous
#71B1EA #7174EA #AA71EA
triadic
#7174EA #EA7174 #74EA71
tetradic
#7174EA #EA71B1 #EAE771 #71EAAA
square
#7174EA #EA71B1 #EAE771 #71EAAA
split-complementary
#7174EA #EAAA71 #B1EA71
monochromatic
#1D21C4 #3C40E2 #7174EA #A6A8F2 #DCDCFA

Accessibility & contrast

On white

3.90
#7174EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7174EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174EA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174EA#FFFFFF#000000##000000
##7174EA1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#3D8EA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7174ea;
/* rgb */ color: rgb(113, 116, 234);
/* oklch */ color: oklch(61.5% 0.174 278.9);
Tailwind
colors: {
  custom: {
    50: '#a29cf1',
    500: '#7174ea',
    950: '#000000',
  },
}
SCSS
$custom: #7174ea;
$custom-light: #a29cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7174ea",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 238.512,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.17409,
    "h": 278.9
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#7174EA
secondary
#EEEDC9
accent
#D10FD6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7174EA

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

Preview Lab → · Contrast checker → · Palette generator →

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