#674BC7#674BC7

#674BC7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.184 H 288.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#674BC7
RGBrgb(103, 75, 199)
HSLhsl(254, 53%, 54%)
HSVhsv(254, 62%, 78%)
CMYKcmyk(48.2%, 62.3%, 0%, 22%)
CIE-LABlab(41.28, 42.44, -60.89)
CIE-LCHlch(41.28, 74.22, 304.88°)
OKLaboklab(51.18% 0.0585 -0.1743)
OKLCHoklch(51.18% 0.184 288.6)
XYZxyz(18.4154, 12.0385, 55.3751)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BC7 #ABC74B
analogous
#4B6DC7 #674BC7 #A54BC7
triadic
#674BC7 #C7674B #4BC767
tetradic
#674BC7 #C74B6D #ABC74B #4BC7A5
square
#674BC7 #C74B6D #ABC74B #4BC7A5
split-complementary
#674BC7 #C7A54B #6DC74B
monochromatic
#362474 #4C32A2 #674BC7 #8E7AD6 #B6A8E4

Accessibility & contrast

On white

6.16
#674BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#674BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BC7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BC7#FFFFFF#000000##FFFFFF
##674BC71.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#476882
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674bc7;
/* rgb */ color: rgb(103, 75, 199);
/* oklch */ color: oklch(51.2% 0.184 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a7fd9',
    500: '#674bc7',
    950: '#000000',
  },
}
SCSS
$custom: #674bc7;
$custom-light: #9a7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#674bc7",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 253.548,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.18383,
    "h": 288.6
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#674BC7
secondary
#C5D19C
accent
#DC4CBB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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