#674DD6#674DD6

#674DD6 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.7% C 0.200 H 286.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#674DD6
RGBrgb(103, 77, 214)
HSLhsl(251, 63%, 57%)
HSVhsv(251, 64%, 84%)
CMYKcmyk(51.9%, 64%, 0%, 16.1%)
CIE-LABlab(42.83, 45.69, -67.01)
CIE-LCHlch(42.83, 81.11, 304.29°)
OKLaboklab(52.66% 0.0552 -0.1923)
OKLCHoklch(52.66% 0.2 286)
XYZxyz(20.3814, 13.0453, 65.0493)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DD6 #BCD64D
analogous
#4D78D6 #674DD6 #AC4DD6
triadic
#674DD6 #D6674D #4DD667
tetradic
#674DD6 #D64D78 #BCD64D #4DD6AC
square
#674DD6 #D64D78 #BCD64D #4DD6AC
split-complementary
#674DD6 #D6AC4D #78D64D
monochromatic
#342089 #462BBB #674DD6 #917FE1 #BCB0ED

Accessibility & contrast

On white

5.82
#674DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#674DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DD6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DD6#FFFFFF#000000##FFFFFF
##674DD61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#3B6F8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674dd6;
/* rgb */ color: rgb(103, 77, 214);
/* oklch */ color: oklch(52.7% 0.200 286.0);
Tailwind
colors: {
  custom: {
    50: '#9c80e4',
    500: '#674dd6',
    950: '#000000',
  },
}
SCSS
$custom: #674dd6;
$custom-light: #9c80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#674dd6",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 251.387,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.20002,
    "h": 286
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#674DD6
secondary
#D1DBA4
accent
#E642C7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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