#674BD7#674BD7

#674BD7 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.4% C 0.204 H 286.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#674BD7
RGBrgb(103, 75, 215)
HSLhsl(252, 64%, 57%)
HSVhsv(252, 65%, 84%)
CMYKcmyk(52.1%, 65.1%, 0%, 15.7%)
CIE-LABlab(42.49, 47.10, -68.14)
CIE-LCHlch(42.49, 82.83, 304.66°)
OKLaboklab(52.44% 0.057 -0.1956)
OKLCHoklch(52.44% 0.204 286.2)
XYZxyz(20.3717, 12.8210, 65.6781)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BD7 #BBD74B
analogous
#4B75D7 #674BD7 #AD4BD7
triadic
#674BD7 #D7674B #4BD767
tetradic
#674BD7 #D74B75 #BBD74B #4BD7AD
square
#674BD7 #D74B75 #BBD74B #4BD7AD
split-complementary
#674BD7 #D7AD4B #75D74B
monochromatic
#341E89 #472ABB #674BD7 #917DE2 #BCAFED

Accessibility & contrast

On white

5.89
#674BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#674BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BD7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BD7#FFFFFF#000000##FFFFFF
##674BD71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#3B6E8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674bd7;
/* rgb */ color: rgb(103, 75, 215);
/* oklch */ color: oklch(52.4% 0.204 286.2);
Tailwind
colors: {
  custom: {
    50: '#9c7fe4',
    500: '#674bd7',
    950: '#000000',
  },
}
SCSS
$custom: #674bd7;
$custom-light: #9c7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#674bd7",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 252,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.2037,
    "h": 286.2
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#674BD7
secondary
#D0DBA2
accent
#E741C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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