#674FB7#674FB7

#674FB7 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.158 H 290.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#674FB7
RGBrgb(103, 79, 183)
HSLhsl(254, 42%, 51%)
HSVhsv(254, 57%, 72%)
CMYKcmyk(43.7%, 56.8%, 0%, 28.2%)
CIE-LABlab(41.05, 35.46, -51.92)
CIE-LCHlch(41.05, 62.88, 304.33°)
OKLaboklab(50.65% 0.0546 -0.1479)
OKLCHoklch(50.65% 0.158 290.3)
XYZxyz(16.9344, 11.8939, 46.1941)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FB7 #9FB74F
analogous
#4F6BB7 #674FB7 #9B4FB7
triadic
#674FB7 #B7674F #4FB767
tetradic
#674FB7 #B74F6B #9FB74F #4FB79B
square
#674FB7 #B74F6B #9FB74F #4FB79B
split-complementary
#674FB7 #B79B4F #6BB74F
monochromatic
#362963 #4E3A8F #674FB7 #8D7AC9 #B2A6DB

Accessibility & contrast

On white

6.22
#674FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674FB7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FB7#FFFFFF#000000##FFFFFF
##674FB71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BA
Deuteranopia (green-blind)
#185EB5
Tritanopia (blue-blind)
#50667B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674fb7;
/* rgb */ color: rgb(103, 79, 183);
/* oklch */ color: oklch(50.7% 0.158 290.3);
Tailwind
colors: {
  custom: {
    50: '#9881cd',
    500: '#674fb7',
    950: '#000000',
  },
}
SCSS
$custom: #674fb7;
$custom-light: #9881cd;
$custom-dark: #000000;
JSON
{
  "hex": "#674fb7",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 253.846,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.15765,
    "h": 290.3
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#674FB7
secondary
#BDC89A
accent
#D256B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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