#674DD4#674DD4

#674DD4 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.198 H 286.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#674DD4
RGBrgb(103, 77, 212)
HSLhsl(252, 61%, 57%)
HSVhsv(252, 64%, 83%)
CMYKcmyk(51.4%, 63.7%, 0%, 16.9%)
CIE-LABlab(42.68, 45.10, -66.11)
CIE-LCHlch(42.68, 80.03, 304.30°)
OKLaboklab(52.5% 0.0554 -0.1896)
OKLCHoklch(52.5% 0.198 286.3)
XYZxyz(20.1275, 12.9438, 63.7124)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DD4 #BAD44D
analogous
#4D77D4 #674DD4 #AB4DD4
triadic
#674DD4 #D4674D #4DD467
tetradic
#674DD4 #D44D77 #BAD44D #4DD4AB
square
#674DD4 #D44D77 #BAD44D #4DD4AB
split-complementary
#674DD4 #D4AB4D #77D44D
monochromatic
#342086 #472CB7 #674DD4 #917EE0 #BBB0EC

Accessibility & contrast

On white

5.85
#674DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#674DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DD4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DD4#FFFFFF#000000##FFFFFF
##674DD41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#3D6E89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674dd4;
/* rgb */ color: rgb(103, 77, 212);
/* oklch */ color: oklch(52.5% 0.198 286.3);
Tailwind
colors: {
  custom: {
    50: '#9b80e2',
    500: '#674dd4',
    950: '#000000',
  },
}
SCSS
$custom: #674dd4;
$custom-light: #9b80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#674dd4",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 251.556,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.19754,
    "h": 286.3
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#674DD4
secondary
#CFDAA3
accent
#E444C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #674DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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