#674FA7#674FA7

#674FA7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.6% C 0.136 H 293.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#674FA7
RGBrgb(103, 79, 167)
HSLhsl(256, 36%, 48%)
HSVhsv(256, 53%, 65%)
CMYKcmyk(38.3%, 52.7%, 0%, 34.5%)
CIE-LABlab(40.02, 30.88, -44.12)
CIE-LCHlch(40.02, 53.85, 304.99°)
OKLaboklab(49.57% 0.054 -0.125)
OKLCHoklch(49.57% 0.136 293.4)
XYZxyz(15.3627, 11.2652, 37.9167)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FA7 #8FA74F
analogous
#4F63A7 #674FA7 #934FA7
triadic
#674FA7 #A7674F #4FA767
tetradic
#674FA7 #A74F63 #8FA74F #4FA793
square
#674FA7 #A74F63 #8FA74F #4FA793
split-complementary
#674FA7 #A7934F #63A74F
monochromatic
#342854 #4D3B7D #674FA7 #8975BE #AD9FD2

Accessibility & contrast

On white

6.46
#674FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#674FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FA7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FA7#FFFFFF#000000##FFFFFF
##674FA71.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FAA
Deuteranopia (green-blind)
#305DA5
Tritanopia (blue-blind)
#576173
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674fa7;
/* rgb */ color: rgb(103, 79, 167);
/* oklch */ color: oklch(49.6% 0.136 293.4);
Tailwind
colors: {
  custom: {
    50: '#9681c2',
    500: '#674fa7',
    950: '#000000',
  },
}
SCSS
$custom: #674fa7;
$custom-light: #9681c2;
$custom-dark: #000000;
JSON
{
  "hex": "#674fa7",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 256.364,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.13613,
    "h": 293.4
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#674FA7
secondary
#B3BE93
accent
#CC5CAD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #674FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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