#674EA7#674EA7

#674EA7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.4% C 0.138 H 293.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#674EA7
RGBrgb(103, 78, 167)
HSLhsl(257, 36%, 48%)
HSVhsv(257, 53%, 65%)
CMYKcmyk(38.3%, 53.3%, 0%, 34.5%)
CIE-LABlab(39.79, 31.48, -44.50)
CIE-LCHlch(39.79, 54.51, 305.28°)
OKLaboklab(49.39% 0.0553 -0.1261)
OKLCHoklch(49.39% 0.138 293.7)
XYZxyz(15.2911, 11.1220, 37.8928)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EA7 #8EA74E
analogous
#4E61A7 #674EA7 #934EA7
triadic
#674EA7 #A7674E #4EA767
tetradic
#674EA7 #A74E61 #8EA74E #4EA793
square
#674EA7 #A74E61 #8EA74E #4EA793
split-complementary
#674EA7 #A7934E #61A74E
monochromatic
#342754 #4D3B7D #674EA7 #8974BE #AC9ED2

Accessibility & contrast

On white

6.51
#674EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#674EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EA7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EA7#FFFFFF#000000##FFFFFF
##674EA71.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAA
Deuteranopia (green-blind)
#2E5CA5
Tritanopia (blue-blind)
#576073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674ea7;
/* rgb */ color: rgb(103, 78, 167);
/* oklch */ color: oklch(49.4% 0.138 293.7);
Tailwind
colors: {
  custom: {
    50: '#9680c2',
    500: '#674ea7',
    950: '#000000',
  },
}
SCSS
$custom: #674ea7;
$custom-light: #9680c2;
$custom-dark: #000000;
JSON
{
  "hex": "#674ea7",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 256.854,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49389,
    "c": 0.13768,
    "h": 293.7
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#674EA7
secondary
#B2BE92
accent
#CC5BAD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #674EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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