#7174DF#7174DF

#7174DF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.159 H 279.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7174DF
RGBrgb(113, 116, 223)
HSLhsl(238, 63%, 66%)
HSVhsv(238, 49%, 87%)
CMYKcmyk(49.3%, 48%, 0%, 12.5%)
CIE-LABlab(53.31, 27.38, -55.17)
CIE-LCHlch(53.31, 61.59, 296.39°)
OKLaboklab(60.82% 0.0258 -0.157)
OKLCHoklch(60.82% 0.159 279.3)
XYZxyz(26.3706, 21.3277, 72.5249)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174DF #DFDC71
analogous
#71ABDF #7174DF #A571DF
triadic
#7174DF #DF7174 #74DF71
tetradic
#7174DF #DF71AB #DFDC71 #71DFA5
square
#7174DF #DF71AB #DFDC71 #71DFA5
split-complementary
#7174DF #DFA571 #ABDF71
monochromatic
#272BAE #3F43D4 #7174DF #A3A5EA #D5D6F6

Accessibility & contrast

On white

3.99
#7174DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7174DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174DF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174DF#FFFFFF#000000##000000
##7174DF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#468B9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7174df;
/* rgb */ color: rgb(113, 116, 223);
/* oklch */ color: oklch(60.8% 0.159 279.3);
Tailwind
colors: {
  custom: {
    50: '#a09ce9',
    500: '#7174df',
    950: '#000000',
  },
}
SCSS
$custom: #7174df;
$custom-light: #a09ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7174df",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 238.364,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.15909,
    "h": 279.3
  },
  "luminance": 0.21329
}

Semantic roles & 50–950 ramp

primary
#7174DF
secondary
#E8E7C4
accent
#C61BCB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7174DF

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

Preview Lab → · Contrast checker → · Palette generator →

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