#674EC1#674EC1

#674EC1 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.172 H 288.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#674EC1
RGBrgb(103, 78, 193)
HSLhsl(253, 48%, 53%)
HSVhsv(253, 60%, 76%)
CMYKcmyk(46.6%, 59.6%, 0%, 24.3%)
CIE-LABlab(41.50, 38.96, -57.03)
CIE-LCHlch(41.50, 69.07, 304.33°)
OKLaboklab(51.21% 0.0556 -0.1629)
OKLCHoklch(51.21% 0.172 288.8)
XYZxyz(17.9408, 12.1819, 51.8478)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EC1 #A8C14E
analogous
#4E6FC1 #674EC1 #A04EC1
triadic
#674EC1 #C1674E #4EC167
tetradic
#674EC1 #C14E6F #A8C14E #4EC1A0
square
#674EC1 #C14E6F #A8C14E #4EC1A0
split-complementary
#674EC1 #C1A04E #6FC14E
monochromatic
#36276E #4C369B #674EC1 #8E7BD1 #B5A9E1

Accessibility & contrast

On white

6.11
#674EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#674EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EC1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EC1#FFFFFF#000000##FFFFFF
##674EC11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#4A6880
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674ec1;
/* rgb */ color: rgb(103, 78, 193);
/* oklch */ color: oklch(51.2% 0.172 288.8);
Tailwind
colors: {
  custom: {
    50: '#9980d4',
    500: '#674ec1',
    950: '#000000',
  },
}
SCSS
$custom: #674ec1;
$custom-light: #9980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#674ec1",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 253.043,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.17215,
    "h": 288.8
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#674EC1
secondary
#C3CE9D
accent
#D850BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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