#674CBD#674CBD

#674CBD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.170 H 290.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#674CBD
RGBrgb(103, 76, 189)
HSLhsl(254, 46%, 52%)
HSVhsv(254, 60%, 74%)
CMYKcmyk(45.5%, 59.8%, 0%, 25.9%)
CIE-LABlab(40.78, 38.96, -55.87)
CIE-LCHlch(40.78, 68.12, 304.89°)
OKLaboklab(50.59% 0.058 -0.1595)
OKLCHoklch(50.59% 0.17 290)
XYZxyz(17.3607, 11.7259, 49.4829)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CBD #A2BD4C
analogous
#4C6ABD #674CBD #9F4CBD
triadic
#674CBD #BD674C #4CBD67
tetradic
#674CBD #BD4C6A #A2BD4C #4CBD9F
square
#674CBD #BD4C6A #A2BD4C #4CBD9F
split-complementary
#674CBD #BD9F4C #6ABD4C
monochromatic
#362668 #4D3795 #674CBD #8D79CD #B3A5DE

Accessibility & contrast

On white

6.28
#674CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674CBD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CBD#FFFFFF#000000##FFFFFF
##674CBD1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#4D667D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674cbd;
/* rgb */ color: rgb(103, 76, 189);
/* oklch */ color: oklch(50.6% 0.170 290.0);
Tailwind
colors: {
  custom: {
    50: '#987fd2',
    500: '#674cbd',
    950: '#000000',
  },
}
SCSS
$custom: #674cbd;
$custom-light: #987fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#674cbd",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 254.336,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.16973,
    "h": 290
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#674CBD
secondary
#BFCB9A
accent
#D652B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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