#674CD9#674CD9

#674CD9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.8% C 0.205 H 285.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#674CD9
RGBrgb(103, 76, 217)
HSLhsl(251, 65%, 57%)
HSVhsv(251, 65%, 85%)
CMYKcmyk(52.5%, 65%, 0%, 14.9%)
CIE-LABlab(42.86, 47.13, -68.69)
CIE-LCHlch(42.86, 83.31, 304.46°)
OKLaboklab(52.75% 0.0558 -0.1972)
OKLCHoklch(52.75% 0.205 285.8)
XYZxyz(20.6986, 13.0611, 67.0626)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CD9 #BED94C
analogous
#4C78D9 #674CD9 #AD4CD9
triadic
#674CD9 #D9674C #4CD967
tetradic
#674CD9 #D94C78 #BED94C #4CD9AD
square
#674CD9 #D94C78 #BED94C #4CD9AD
split-complementary
#674CD9 #D9AD4C #78D94C
monochromatic
#331E8D #4529BF #674CD9 #927EE4 #BDB1EE

Accessibility & contrast

On white

5.81
#674CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674CD9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CD9#FFFFFF#000000##FFFFFF
##674CD91.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#396F8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674cd9;
/* rgb */ color: rgb(103, 76, 217);
/* oklch */ color: oklch(52.8% 0.205 285.8);
Tailwind
colors: {
  custom: {
    50: '#9c80e6',
    500: '#674cd9',
    950: '#000000',
  },
}
SCSS
$custom: #674cd9;
$custom-light: #9c80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#674cd9",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 251.489,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.20494,
    "h": 285.8
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#674CD9
secondary
#D2DDA4
accent
#E840C8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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