#674BC4#674BC4

#674BC4 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.180 H 289.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#674BC4
RGBrgb(103, 75, 196)
HSLhsl(254, 51%, 53%)
HSVhsv(254, 62%, 77%)
CMYKcmyk(47.4%, 61.7%, 0%, 23.1%)
CIE-LABlab(41.06, 41.57, -59.50)
CIE-LCHlch(41.06, 72.58, 304.94°)
OKLaboklab(50.95% 0.0587 -0.1702)
OKLCHoklch(50.95% 0.18 289)
XYZxyz(18.0705, 11.9005, 53.5587)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BC4 #A8C44B
analogous
#4B6BC4 #674BC4 #A34BC4
triadic
#674BC4 #C4674B #4BC467
tetradic
#674BC4 #C44B6B #A8C44B #4BC4A3
square
#674BC4 #C44B6B #A8C44B #4BC4A3
split-complementary
#674BC4 #C4A34B #6BC44B
monochromatic
#362570 #4C349E #674BC4 #8E79D3 #B5A7E2

Accessibility & contrast

On white

6.21
#674BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#674BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BC4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BC4#FFFFFF#000000##FFFFFF
##674BC41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#496780
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674bc4;
/* rgb */ color: rgb(103, 75, 196);
/* oklch */ color: oklch(50.9% 0.180 289.0);
Tailwind
colors: {
  custom: {
    50: '#997fd7',
    500: '#674bc4',
    950: '#000000',
  },
}
SCSS
$custom: #674bc4;
$custom-light: #997fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#674bc4",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 253.884,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.18004,
    "h": 289
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #674BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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