#674AB9#674AB9

#674AB9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.167 H 291.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#674AB9
RGBrgb(103, 74, 185)
HSLhsl(256, 44%, 51%)
HSVhsv(256, 60%, 73%)
CMYKcmyk(44.3%, 60%, 0%, 27.5%)
CIE-LABlab(40.05, 38.98, -54.70)
CIE-LCHlch(40.05, 67.17, 305.47°)
OKLaboklab(49.97% 0.0604 -0.1561)
OKLCHoklch(49.97% 0.167 291.2)
XYZxyz(16.7968, 11.2834, 47.1824)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AB9 #9CB94A
analogous
#4A64B9 #674AB9 #9E4AB9
triadic
#674AB9 #B9674A #4AB967
tetradic
#674AB9 #B94A64 #9CB94A #4AB99E
square
#674AB9 #B94A64 #9CB94A #4AB99E
split-complementary
#674AB9 #B99E4A #64B94A
monochromatic
#362663 #4E378F #674AB9 #8C76CA #B1A2DB

Accessibility & contrast

On white

6.45
#674AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#674AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AB9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AB9#FFFFFF#000000##FFFFFF
##674AB91.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#4F637A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674ab9;
/* rgb */ color: rgb(103, 74, 185);
/* oklch */ color: oklch(50.0% 0.167 291.2);
Tailwind
colors: {
  custom: {
    50: '#987ecf',
    500: '#674ab9',
    950: '#000000',
  },
}
SCSS
$custom: #674ab9;
$custom-light: #987ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#674ab9",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 255.676,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.16735,
    "h": 291.2
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#674AB9
secondary
#BBC897
accent
#D454B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674AB9

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

Preview Lab → · Contrast checker → · Palette generator →

#674AB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva