#674EBD#674EBD

#674EBD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.167 H 289.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#674EBD
RGBrgb(103, 78, 189)
HSLhsl(254, 46%, 52%)
HSVhsv(254, 59%, 74%)
CMYKcmyk(45.5%, 58.7%, 0%, 25.9%)
CIE-LABlab(41.23, 37.79, -55.15)
CIE-LCHlch(41.23, 66.86, 304.42°)
OKLaboklab(50.91% 0.0557 -0.1574)
OKLCHoklch(50.91% 0.167 289.5)
XYZxyz(17.5006, 12.0058, 49.5295)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EBD #A4BD4E
analogous
#4E6CBD #674EBD #9F4EBD
triadic
#674EBD #BD674E #4EBD67
tetradic
#674EBD #BD4E6C #A4BD4E #4EBD9F
square
#674EBD #BD4E6C #A4BD4E #4EBD9F
split-complementary
#674EBD #BD9F4E #6CBD4E
monochromatic
#362769 #4D3896 #674EBD #8D7BCE #B4A7DE

Accessibility & contrast

On white

6.17
#674EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#674EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EBD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EBD#FFFFFF#000000##FFFFFF
##674EBD1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#4D677E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674ebd;
/* rgb */ color: rgb(103, 78, 189);
/* oklch */ color: oklch(50.9% 0.167 289.5);
Tailwind
colors: {
  custom: {
    50: '#9880d2',
    500: '#674ebd',
    950: '#000000',
  },
}
SCSS
$custom: #674ebd;
$custom-light: #9880d2;
$custom-dark: #000000;
JSON
{
  "hex": "#674ebd",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 253.514,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.16696,
    "h": 289.5
  },
  "luminance": 0.12006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #674EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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