#7174ED#7174ED

#7174ED is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.7% C 0.178 H 278.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7174ED
RGBrgb(113, 116, 237)
HSLhsl(239, 78%, 69%)
HSVhsv(239, 52%, 93%)
CMYKcmyk(52.3%, 51.1%, 0%, 7.1%)
CIE-LABlab(54.15, 31.66, -61.67)
CIE-LCHlch(54.15, 69.32, 297.18°)
OKLaboklab(61.72% 0.0271 -0.1761)
OKLCHoklch(61.72% 0.178 278.7)
XYZxyz(28.3367, 22.1142, 82.8796)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174ED #EDEA71
analogous
#71B2ED #7174ED #AC71ED
triadic
#7174ED #ED7174 #74ED71
tetradic
#7174ED #ED71B2 #EDEA71 #71EDAC
square
#7174ED #ED71B2 #EDEA71 #71EDAC
split-complementary
#7174ED #EDAC71 #B2ED71
monochromatic
#1A1ECA #3B3FE6 #7174ED #A7A9F4 #DEDEFB

Accessibility & contrast

On white

3.87
#7174ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7174ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174ED
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174ED#FFFFFF#000000##000000
##7174ED1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F1
Deuteranopia (green-blind)
#247DEA
Tritanopia (blue-blind)
#3A8FA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7174ed;
/* rgb */ color: rgb(113, 116, 237);
/* oklch */ color: oklch(61.7% 0.178 278.7);
Tailwind
colors: {
  custom: {
    50: '#a29cf3',
    500: '#7174ed',
    950: '#000000',
  },
}
SCSS
$custom: #7174ed;
$custom-light: #a29cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7174ed",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 238.548,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.17814,
    "h": 278.7
  },
  "luminance": 0.22116
}

Semantic roles & 50–950 ramp

primary
#7174ED
secondary
#EFEFCA
accent
#D50CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7174ED

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

Preview Lab → · Contrast checker → · Palette generator →

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