#674DB7#674DB7

#674DB7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.161 H 290.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#674DB7
RGBrgb(103, 77, 183)
HSLhsl(255, 42%, 51%)
HSVhsv(255, 58%, 72%)
CMYKcmyk(43.7%, 57.9%, 0%, 28.2%)
CIE-LABlab(40.59, 36.64, -52.66)
CIE-LCHlch(40.59, 64.16, 304.83°)
OKLaboklab(50.32% 0.057 -0.1501)
OKLCHoklch(50.32% 0.161 290.8)
XYZxyz(16.7923, 11.6097, 46.1467)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DB7 #9DB74D
analogous
#4D68B7 #674DB7 #9C4DB7
triadic
#674DB7 #B7674D #4DB767
tetradic
#674DB7 #B74D68 #9DB74D #4DB79C
square
#674DB7 #B74D68 #9DB74D #4DB79C
split-complementary
#674DB7 #B79C4D #68B74D
monochromatic
#362862 #4E398E #674DB7 #8C79C9 #B1A4DA

Accessibility & contrast

On white

6.32
#674DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#674DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DB7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DB7#FFFFFF#000000##FFFFFF
##674DB71.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BB
Deuteranopia (green-blind)
#115DB5
Tritanopia (blue-blind)
#50647A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674db7;
/* rgb */ color: rgb(103, 77, 183);
/* oklch */ color: oklch(50.3% 0.161 290.8);
Tailwind
colors: {
  custom: {
    50: '#9880cd',
    500: '#674db7',
    950: '#000000',
  },
}
SCSS
$custom: #674db7;
$custom-light: #9880cd;
$custom-dark: #000000;
JSON
{
  "hex": "#674db7",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 254.717,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.16052,
    "h": 290.8
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#674DB7
secondary
#BCC798
accent
#D256B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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