#674FC5#674FC5

#674FC5 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.176 H 288.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#674FC5
RGBrgb(103, 79, 197)
HSLhsl(252, 50%, 54%)
HSVhsv(252, 60%, 77%)
CMYKcmyk(47.7%, 59.9%, 0%, 22.7%)
CIE-LABlab(42.01, 39.54, -58.54)
CIE-LCHlch(42.01, 70.64, 304.04°)
OKLaboklab(51.67% 0.0543 -0.1674)
OKLCHoklch(51.67% 0.176 288)
XYZxyz(18.4646, 12.5060, 54.2535)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FC5 #ADC54F
analogous
#4F72C5 #674FC5 #A24FC5
triadic
#674FC5 #C5674F #4FC567
tetradic
#674FC5 #C54F72 #ADC54F #4FC5A2
square
#674FC5 #C54F72 #ADC54F #4FC5A2
split-complementary
#674FC5 #C5A24F #72C54F
monochromatic
#362674 #4B35A2 #674FC5 #8F7DD4 #B7ABE3

Accessibility & contrast

On white

6.00
#674FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#674FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FC5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FC5#FFFFFF#000000##FFFFFF
##674FC51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#486A82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674fc5;
/* rgb */ color: rgb(103, 79, 197);
/* oklch */ color: oklch(51.7% 0.176 288.0);
Tailwind
colors: {
  custom: {
    50: '#9981d7',
    500: '#674fc5',
    950: '#000000',
  },
}
SCSS
$custom: #674fc5;
$custom-light: #9981d7;
$custom-dark: #000000;
JSON
{
  "hex": "#674fc5",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 252.203,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.17596,
    "h": 288
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#674FC5
secondary
#C7D19F
accent
#DA4EBD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #674FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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