#674CBE#674CBE

#674CBE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.171 H 289.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#674CBE
RGBrgb(103, 76, 190)
HSLhsl(254, 47%, 52%)
HSVhsv(254, 60%, 75%)
CMYKcmyk(45.8%, 60%, 0%, 25.5%)
CIE-LABlab(40.85, 39.25, -56.35)
CIE-LCHlch(40.85, 68.67, 304.86°)
OKLaboklab(50.66% 0.0579 -0.1609)
OKLCHoklch(50.66% 0.171 289.8)
XYZxyz(17.4696, 11.7695, 50.0565)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CBE #A3BE4C
analogous
#4C6ABE #674CBE #A04CBE
triadic
#674CBE #BE674C #4CBE67
tetradic
#674CBE #BE4C6A #A3BE4C #4CBEA0
square
#674CBE #BE4C6A #A3BE4C #4CBEA0
split-complementary
#674CBE #BEA04C #6ABE4C
monochromatic
#362669 #4D3796 #674CBE #8D79CE #B3A6DF

Accessibility & contrast

On white

6.26
#674CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#674CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CBE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CBE#FFFFFF#000000##FFFFFF
##674CBE1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#4C667E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674cbe;
/* rgb */ color: rgb(103, 76, 190);
/* oklch */ color: oklch(50.7% 0.171 289.8);
Tailwind
colors: {
  custom: {
    50: '#997fd2',
    500: '#674cbe',
    950: '#000000',
  },
}
SCSS
$custom: #674cbe;
$custom-light: #997fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#674cbe",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 254.211,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.17102,
    "h": 289.8
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#674CBE
secondary
#C0CC9A
accent
#D651B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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