#674EBC#674EBC

#674EBC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.8% C 0.166 H 289.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#674EBC
RGBrgb(103, 78, 188)
HSLhsl(254, 45%, 52%)
HSVhsv(254, 59%, 74%)
CMYKcmyk(45.2%, 58.5%, 0%, 26.3%)
CIE-LABlab(41.16, 37.50, -54.68)
CIE-LCHlch(41.16, 66.30, 304.44°)
OKLaboklab(50.84% 0.0557 -0.156)
OKLCHoklch(50.84% 0.166 289.7)
XYZxyz(17.3924, 11.9626, 48.9598)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EBC #A3BC4E
analogous
#4E6CBC #674EBC #9E4EBC
triadic
#674EBC #BC674E #4EBC67
tetradic
#674EBC #BC4E6C #A3BC4E #4EBC9E
square
#674EBC #BC4E6C #A3BC4E #4EBC9E
split-complementary
#674EBC #BC9E4E #6CBC4E
monochromatic
#362768 #4D3895 #674EBC #8D7ACD #B3A7DE

Accessibility & contrast

On white

6.19
#674EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#674EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EBC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EBC#FFFFFF#000000##FFFFFF
##674EBC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#025EBA
Tritanopia (blue-blind)
#4D677D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674ebc;
/* rgb */ color: rgb(103, 78, 188);
/* oklch */ color: oklch(50.8% 0.166 289.7);
Tailwind
colors: {
  custom: {
    50: '#9880d1',
    500: '#674ebc',
    950: '#000000',
  },
}
SCSS
$custom: #674ebc;
$custom-light: #9880d1;
$custom-dark: #000000;
JSON
{
  "hex": "#674ebc",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 253.636,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50842,
    "c": 0.16564,
    "h": 289.7
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#674EBC
secondary
#C0CB9B
accent
#D553B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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