#674EA8#674EA8

#674EA8 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.139 H 293.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#674EA8
RGBrgb(103, 78, 168)
HSLhsl(257, 37%, 48%)
HSVhsv(257, 54%, 66%)
CMYKcmyk(38.7%, 53.6%, 0%, 34.1%)
CIE-LABlab(39.85, 31.77, -44.99)
CIE-LCHlch(39.85, 55.08, 305.22°)
OKLaboklab(49.46% 0.0554 -0.1275)
OKLCHoklch(49.46% 0.139 293.5)
XYZxyz(15.3839, 11.1591, 38.3816)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EA8 #8FA84E
analogous
#4E62A8 #674EA8 #944EA8
triadic
#674EA8 #A8674E #4EA867
tetradic
#674EA8 #A84E62 #8FA84E #4EA894
square
#674EA8 #A84E62 #8FA84E #4EA894
split-complementary
#674EA8 #A8944E #62A84E
monochromatic
#342754 #4D3B7E #674EA8 #8975BF #AD9ED2

Accessibility & contrast

On white

6.50
#674EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#674EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EA8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EA8#FFFFFF#000000##FFFFFF
##674EA81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAB
Deuteranopia (green-blind)
#2D5CA6
Tritanopia (blue-blind)
#576073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674ea8;
/* rgb */ color: rgb(103, 78, 168);
/* oklch */ color: oklch(49.5% 0.139 293.5);
Tailwind
colors: {
  custom: {
    50: '#9680c2',
    500: '#674ea8',
    950: '#000000',
  },
}
SCSS
$custom: #674ea8;
$custom-light: #9680c2;
$custom-dark: #000000;
JSON
{
  "hex": "#674ea8",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 256.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.13904,
    "h": 293.5
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#674EA8
secondary
#B3BF93
accent
#CD5BAD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #674EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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