#674CC4#674CC4

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

Color values

HEX#674CC4
RGBrgb(103, 76, 196)
HSLhsl(254, 50%, 53%)
HSVhsv(254, 61%, 77%)
CMYKcmyk(47.4%, 61.2%, 0%, 23.1%)
CIE-LABlab(41.28, 40.99, -59.15)
CIE-LCHlch(41.28, 71.97, 304.72°)
OKLaboklab(51.11% 0.0576 -0.1691)
OKLCHoklch(51.11% 0.179 288.8)
XYZxyz(18.1389, 12.0372, 53.5815)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CC4 #A9C44C
analogous
#4C6DC4 #674CC4 #A34CC4
triadic
#674CC4 #C4674C #4CC467
tetradic
#674CC4 #C44C6D #A9C44C #4CC4A3
square
#674CC4 #C44C6D #A9C44C #4CC4A3
split-complementary
#674CC4 #C4A34C #6DC44C
monochromatic
#362571 #4C349F #674CC4 #8E7AD3 #B5A8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674CC4#FFFFFF#000000##FFFFFF
##674CC41.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)
#0064C8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#496881
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674cc4;
/* rgb */ color: rgb(103, 76, 196);
/* oklch */ color: oklch(51.1% 0.179 288.8);
Tailwind
colors: {
  custom: {
    50: '#997fd7',
    500: '#674cc4',
    950: '#000000',
  },
}
SCSS
$custom: #674cc4;
$custom-light: #997fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#674cc4",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 253.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.1787,
    "h": 288.8
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#674CC4
secondary
#C4D09C
accent
#DA4EBA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #674CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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