#674DBE#674DBE

#674DBE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.170 H 289.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#674DBE
RGBrgb(103, 77, 190)
HSLhsl(254, 47%, 52%)
HSVhsv(254, 59%, 75%)
CMYKcmyk(45.8%, 59.5%, 0%, 25.5%)
CIE-LABlab(41.07, 38.67, -55.99)
CIE-LCHlch(41.07, 68.04, 304.63°)
OKLaboklab(50.82% 0.0568 -0.1598)
OKLCHoklch(50.82% 0.17 289.6)
XYZxyz(17.5390, 11.9084, 50.0796)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DBE #A4BE4D
analogous
#4D6CBE #674DBE #9F4DBE
triadic
#674DBE #BE674D #4DBE67
tetradic
#674DBE #BE4D6C #A4BE4D #4DBE9F
square
#674DBE #BE4D6C #A4BE4D #4DBE9F
split-complementary
#674DBE #BE9F4D #6CBE4D
monochromatic
#36276A #4D3797 #674DBE #8D7ACE #B4A7DF

Accessibility & contrast

On white

6.21
#674DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674DBE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DBE#FFFFFF#000000##FFFFFF
##674DBE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#4C677E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674dbe;
/* rgb */ color: rgb(103, 77, 190);
/* oklch */ color: oklch(50.8% 0.170 289.6);
Tailwind
colors: {
  custom: {
    50: '#9980d2',
    500: '#674dbe',
    950: '#000000',
  },
}
SCSS
$custom: #674dbe;
$custom-light: #9980d2;
$custom-dark: #000000;
JSON
{
  "hex": "#674dbe",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 253.805,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50822,
    "c": 0.16964,
    "h": 289.6
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#674DBE
secondary
#C1CC9B
accent
#D652B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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