#7174F1#7174F1

#7174F1 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 62.0% C 0.183 H 278.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7174F1
RGBrgb(113, 116, 241)
HSLhsl(239, 82%, 69%)
HSVhsv(239, 53%, 95%)
CMYKcmyk(53.1%, 51.9%, 0%, 5.5%)
CIE-LABlab(54.40, 32.89, -63.49)
CIE-LCHlch(54.40, 71.51, 297.39°)
OKLaboklab(61.99% 0.0273 -0.1814)
OKLCHoklch(61.99% 0.183 278.6)
XYZxyz(28.9276, 22.3505, 85.9918)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174F1 #F1EE71
analogous
#71B4F1 #7174F1 #AE71F1
triadic
#7174F1 #F17174 #74F171
tetradic
#7174F1 #F171B4 #F1EE71 #71F1AE
square
#7174F1 #F171B4 #F1EE71 #71F1AE
split-complementary
#7174F1 #F1AE71 #B4F171
monochromatic
#1519D3 #393DEC #7174F1 #A9ABF6 #E0E1FC

Accessibility & contrast

On white

3.84
#7174F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7174F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174F1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174F1#FFFFFF#000000##000000
##7174F11.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F87F5
Deuteranopia (green-blind)
#1A7DEE
Tritanopia (blue-blind)
#3690A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7174f1;
/* rgb */ color: rgb(113, 116, 241);
/* oklch */ color: oklch(62.0% 0.183 278.6);
Tailwind
colors: {
  custom: {
    50: '#a39cf6',
    500: '#7174f1',
    950: '#000000',
  },
}
SCSS
$custom: #7174f1;
$custom-light: #a39cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7174f1",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 241
  },
  "hsl": {
    "h": 238.594,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.18349,
    "h": 278.6
  },
  "luminance": 0.22352
}

Semantic roles & 50–950 ramp

primary
#7174F1
secondary
#F1F0CC
accent
#D907DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7174F1

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

Preview Lab → · Contrast checker → · Palette generator →

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