#7174F6#7174F6

#7174F6 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.3% C 0.190 H 278.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7174F6
RGBrgb(113, 116, 246)
HSLhsl(239, 88%, 70%)
HSVhsv(239, 54%, 96%)
CMYKcmyk(54.1%, 52.8%, 0%, 3.5%)
CIE-LABlab(54.71, 34.44, -65.76)
CIE-LCHlch(54.71, 74.23, 297.64°)
OKLaboklab(62.33% 0.0276 -0.1881)
OKLCHoklch(62.33% 0.19 278.3)
XYZxyz(29.6847, 22.6534, 89.9792)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174F6 #F6F371
analogous
#71B6F6 #7174F6 #B171F6
triadic
#7174F6 #F67174 #74F671
tetradic
#7174F6 #F671B6 #F6F371 #71F6B1
square
#7174F6 #F671B6 #F6F371 #71F6B1
split-complementary
#7174F6 #F6B171 #B6F671
monochromatic
#0E13DE #373CF2 #7174F6 #ABACFA #E2E3FD

Accessibility & contrast

On white

3.80
#7174F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7174F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174F6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174F6#FFFFFF#000000##000000
##7174F61.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FB
Deuteranopia (green-blind)
#037EF3
Tritanopia (blue-blind)
#3092AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7174f6;
/* rgb */ color: rgb(113, 116, 246);
/* oklch */ color: oklch(62.3% 0.190 278.3);
Tailwind
colors: {
  custom: {
    50: '#a39cfa',
    500: '#7174f6',
    950: '#000000',
  },
}
SCSS
$custom: #7174f6;
$custom-light: #a39cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7174f6",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 238.647,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62325,
    "c": 0.19013,
    "h": 278.3
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#7174F6
secondary
#F4F3CF
accent
#E001E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7174F6

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

Preview Lab → · Contrast checker → · Palette generator →

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