#674CC7#674CC7

#674CC7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.183 H 288.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#674CC7
RGBrgb(103, 76, 199)
HSLhsl(253, 52%, 54%)
HSVhsv(253, 62%, 78%)
CMYKcmyk(48.2%, 61.8%, 0%, 22%)
CIE-LABlab(41.49, 41.87, -60.54)
CIE-LCHlch(41.49, 73.60, 304.67°)
OKLaboklab(51.33% 0.0575 -0.1732)
OKLCHoklch(51.33% 0.183 288.3)
XYZxyz(18.4838, 12.1752, 55.3979)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CC7 #ACC74C
analogous
#4C6FC7 #674CC7 #A54CC7
triadic
#674CC7 #C7674C #4CC767
tetradic
#674CC7 #C74C6F #ACC74C #4CC7A5
square
#674CC7 #C74C6F #ACC74C #4CC7A5
split-complementary
#674CC7 #C7A54C #6FC74C
monochromatic
#362474 #4C33A3 #674CC7 #8F7BD6 #B6A9E4

Accessibility & contrast

On white

6.11
#674CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#674CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CC7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CC7#FFFFFF#000000##FFFFFF
##674CC71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#476982
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674cc7;
/* rgb */ color: rgb(103, 76, 199);
/* oklch */ color: oklch(51.3% 0.183 288.3);
Tailwind
colors: {
  custom: {
    50: '#9a7fd9',
    500: '#674cc7',
    950: '#000000',
  },
}
SCSS
$custom: #674cc7;
$custom-light: #9a7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#674cc7",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 253.171,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.18252,
    "h": 288.3
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#674CC7
secondary
#C6D29D
accent
#DC4CBC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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