#674EBB#674EBB

#674EBB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.164 H 289.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#674EBB
RGBrgb(103, 78, 187)
HSLhsl(254, 44%, 52%)
HSVhsv(254, 58%, 73%)
CMYKcmyk(44.9%, 58.3%, 0%, 26.7%)
CIE-LABlab(41.09, 37.21, -54.20)
CIE-LCHlch(41.09, 65.75, 304.47°)
OKLaboklab(50.77% 0.0557 -0.1546)
OKLCHoklch(50.77% 0.164 289.8)
XYZxyz(17.2850, 11.9196, 48.3940)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EBB #A2BB4E
analogous
#4E6CBB #674EBB #9D4EBB
triadic
#674EBB #BB674E #4EBB67
tetradic
#674EBB #BB4E6C #A2BB4E #4EBB9D
square
#674EBB #BB4E6C #A2BB4E #4EBB9D
split-complementary
#674EBB #BB9D4E #6CBB4E
monochromatic
#362867 #4D3993 #674EBB #8D7ACC #B3A6DD

Accessibility & contrast

On white

6.21
#674EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#674EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EBB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EBB#FFFFFF#000000##FFFFFF
##674EBB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#075EB9
Tritanopia (blue-blind)
#4E667D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674ebb;
/* rgb */ color: rgb(103, 78, 187);
/* oklch */ color: oklch(50.8% 0.164 289.8);
Tailwind
colors: {
  custom: {
    50: '#9880d0',
    500: '#674ebb',
    950: '#000000',
  },
}
SCSS
$custom: #674ebb;
$custom-light: #9880d0;
$custom-dark: #000000;
JSON
{
  "hex": "#674ebb",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 253.761,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5077,
    "c": 0.16434,
    "h": 289.8
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#674EBB
secondary
#BFCA9B
accent
#D454B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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