#674CB7#674CB7

#674CB7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.162 H 291.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#674CB7
RGBrgb(103, 76, 183)
HSLhsl(255, 43%, 51%)
HSVhsv(255, 58%, 72%)
CMYKcmyk(43.7%, 58.5%, 0%, 28.2%)
CIE-LABlab(40.36, 37.23, -53.03)
CIE-LCHlch(40.36, 64.79, 305.07°)
OKLaboklab(50.15% 0.0581 -0.1511)
OKLCHoklch(50.15% 0.162 291)
XYZxyz(16.7228, 11.4708, 46.1235)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CB7 #9CB74C
analogous
#4C66B7 #674CB7 #9C4CB7
triadic
#674CB7 #B7674C #4CB767
tetradic
#674CB7 #B74C66 #9CB74C #4CB79C
square
#674CB7 #B74C66 #9CB74C #4CB79C
split-complementary
#674CB7 #B79C4C #66B74C
monochromatic
#362761 #4E398D #674CB7 #8C78C9 #B1A3DA

Accessibility & contrast

On white

6.37
#674CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#674CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CB7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CB7#FFFFFF#000000##FFFFFF
##674CB71.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#0D5DB5
Tritanopia (blue-blind)
#50647A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #674cb7;
/* rgb */ color: rgb(103, 76, 183);
/* oklch */ color: oklch(50.1% 0.162 291.0);
Tailwind
colors: {
  custom: {
    50: '#987fcd',
    500: '#674cb7',
    950: '#000000',
  },
}
SCSS
$custom: #674cb7;
$custom-light: #987fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#674cb7",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 255.14,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50149,
    "c": 0.16195,
    "h": 291
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#674CB7
secondary
#BBC798
accent
#D255B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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