#674FC7#674FC7

#674FC7 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.179 H 287.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#674FC7
RGBrgb(103, 79, 199)
HSLhsl(252, 52%, 55%)
HSVhsv(252, 60%, 78%)
CMYKcmyk(48.2%, 60.3%, 0%, 22%)
CIE-LABlab(42.15, 40.13, -59.47)
CIE-LCHlch(42.15, 71.74, 304.01°)
OKLaboklab(51.82% 0.0542 -0.1701)
OKLCHoklch(51.82% 0.179 287.7)
XYZxyz(18.6953, 12.5982, 55.4684)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FC7 #AFC74F
analogous
#4F73C7 #674FC7 #A34FC7
triadic
#674FC7 #C7674F #4FC767
tetradic
#674FC7 #C74F73 #AFC74F #4FC7A3
square
#674FC7 #C74F73 #AFC74F #4FC7A3
split-complementary
#674FC7 #C7A34F #73C74F
monochromatic
#362676 #4B34A4 #674FC7 #8F7DD6 #B7ACE5

Accessibility & contrast

On white

5.97
#674FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#674FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FC7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FC7#FFFFFF#000000##FFFFFF
##674FC71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#476B83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674fc7;
/* rgb */ color: rgb(103, 79, 199);
/* oklch */ color: oklch(51.8% 0.179 287.7);
Tailwind
colors: {
  custom: {
    50: '#9981d9',
    500: '#674fc7',
    950: '#000000',
  },
}
SCSS
$custom: #674fc7;
$custom-light: #9981d9;
$custom-dark: #000000;
JSON
{
  "hex": "#674fc7",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 252,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.17853,
    "h": 287.7
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#674FC7
secondary
#C8D2A0
accent
#DB4DBF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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