#674ED1#674ED1

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

Color values

HEX#674ED1
RGBrgb(103, 78, 209)
HSLhsl(251, 59%, 56%)
HSVhsv(251, 63%, 82%)
CMYKcmyk(50.7%, 62.7%, 0%, 18%)
CIE-LABlab(42.66, 43.65, -64.41)
CIE-LCHlch(42.66, 77.81, 304.12°)
OKLaboklab(52.42% 0.0546 -0.1846)
OKLCHoklch(52.42% 0.193 286.5)
XYZxyz(19.8231, 12.9348, 61.7614)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674ED1 #B8D14E
analogous
#4E77D1 #674ED1 #A84ED1
triadic
#674ED1 #D1674E #4ED167
tetradic
#674ED1 #D14E77 #B8D14E #4ED1A8
square
#674ED1 #D14E77 #B8D14E #4ED1A8
split-complementary
#674ED1 #D1A84E #77D14E
monochromatic
#342283 #482FB3 #674ED1 #917FDE #BAAFEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674ED1#FFFFFF#000000##FFFFFF
##674ED11.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)
#0068D5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#3F6D88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674ed1;
/* rgb */ color: rgb(103, 78, 209);
/* oklch */ color: oklch(52.4% 0.193 286.5);
Tailwind
colors: {
  custom: {
    50: '#9b81e0',
    500: '#674ed1',
    950: '#000000',
  },
}
SCSS
$custom: #674ed1;
$custom-light: #9b81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#674ed1",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 251.45,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.19253,
    "h": 286.5
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#674ED1
secondary
#CED8A2
accent
#E246C4
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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