#674EB8#674EB8

#674EB8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.160 H 290.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#674EB8
RGBrgb(103, 78, 184)
HSLhsl(254, 43%, 51%)
HSVhsv(254, 58%, 72%)
CMYKcmyk(44%, 57.6%, 0%, 27.8%)
CIE-LABlab(40.88, 36.34, -52.77)
CIE-LCHlch(40.88, 64.08, 304.55°)
OKLaboklab(50.56% 0.0558 -0.1504)
OKLCHoklch(50.56% 0.16 290.3)
XYZxyz(16.9672, 11.7925, 46.7203)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EB8 #9FB84E
analogous
#4E6AB8 #674EB8 #9C4EB8
triadic
#674EB8 #B8674E #4EB867
tetradic
#674EB8 #B84E6A #9FB84E #4EB89C
square
#674EB8 #B84E6A #9FB84E #4EB89C
split-complementary
#674EB8 #B89C4E #6AB84E
monochromatic
#362864 #4E398F #674EB8 #8D7ACA #B2A5DB

Accessibility & contrast

On white

6.25
#674EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#674EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EB8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EB8#FFFFFF#000000##FFFFFF
##674EB81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0962BC
Deuteranopia (green-blind)
#125EB6
Tritanopia (blue-blind)
#4F657B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674eb8;
/* rgb */ color: rgb(103, 78, 184);
/* oklch */ color: oklch(50.6% 0.160 290.3);
Tailwind
colors: {
  custom: {
    50: '#9880ce',
    500: '#674eb8',
    950: '#000000',
  },
}
SCSS
$custom: #674eb8;
$custom-light: #9880ce;
$custom-dark: #000000;
JSON
{
  "hex": "#674eb8",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 254.151,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.16041,
    "h": 290.3
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#674EB8
secondary
#BDC89A
accent
#D355B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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