#674FC2#674FC2

#674FC2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.172 H 288.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#674FC2
RGBrgb(103, 79, 194)
HSLhsl(253, 49%, 54%)
HSVhsv(253, 59%, 76%)
CMYKcmyk(46.9%, 59.3%, 0%, 23.9%)
CIE-LABlab(41.80, 38.66, -57.14)
CIE-LCHlch(41.80, 68.99, 304.08°)
OKLaboklab(51.44% 0.0544 -0.1632)
OKLCHoklch(51.44% 0.172 288.4)
XYZxyz(18.1243, 12.3698, 52.4611)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FC2 #AAC24F
analogous
#4F70C2 #674FC2 #A04FC2
triadic
#674FC2 #C2674F #4FC267
tetradic
#674FC2 #C24F70 #AAC24F #4FC2A0
square
#674FC2 #C24F70 #AAC24F #4FC2A0
split-complementary
#674FC2 #C2A04F #70C24F
monochromatic
#362770 #4C379D #674FC2 #8E7CD2 #B6AAE2

Accessibility & contrast

On white

6.04
#674FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#674FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FC2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FC2#FFFFFF#000000##FFFFFF
##674FC21.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#4A6981
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674fc2;
/* rgb */ color: rgb(103, 79, 194);
/* oklch */ color: oklch(51.4% 0.172 288.4);
Tailwind
colors: {
  custom: {
    50: '#9981d5',
    500: '#674fc2',
    950: '#000000',
  },
}
SCSS
$custom: #674fc2;
$custom-light: #9981d5;
$custom-dark: #000000;
JSON
{
  "hex": "#674fc2",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 252.522,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.17208,
    "h": 288.4
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#674FC2
secondary
#C5CF9E
accent
#D850BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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