#674BC3#674BC3

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

Color values

HEX#674BC3
RGBrgb(103, 75, 195)
HSLhsl(254, 50%, 53%)
HSVhsv(254, 62%, 76%)
CMYKcmyk(47.2%, 61.5%, 0%, 23.5%)
CIE-LABlab(40.98, 41.28, -59.04)
CIE-LCHlch(40.98, 72.04, 304.96°)
OKLaboklab(50.87% 0.0588 -0.1688)
OKLCHoklch(50.87% 0.179 289.2)
XYZxyz(17.9571, 11.8551, 52.9613)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BC3 #A7C34B
analogous
#4B6BC3 #674BC3 #A34BC3
triadic
#674BC3 #C3674B #4BC367
tetradic
#674BC3 #C34B6B #A7C34B #4BC3A3
square
#674BC3 #C34B6B #A7C34B #4BC3A3
split-complementary
#674BC3 #C3A34B #6BC34B
monochromatic
#36256F #4D349D #674BC3 #8E79D2 #B5A7E2

Accessibility & contrast

On white

6.23
#674BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#674BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BC3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BC3#FFFFFF#000000##FFFFFF
##674BC31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #674bc3;
/* rgb */ color: rgb(103, 75, 195);
/* oklch */ color: oklch(50.9% 0.179 289.2);
Tailwind
colors: {
  custom: {
    50: '#997ed6',
    500: '#674bc3',
    950: '#000000',
  },
}
SCSS
$custom: #674bc3;
$custom-light: #997ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#674bc3",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 254,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.17877,
    "h": 289.2
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #674BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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