#674ED7#674ED7

#674ED7 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 52.9% C 0.200 H 285.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#674ED7
RGBrgb(103, 78, 215)
HSLhsl(251, 63%, 57%)
HSVhsv(251, 64%, 84%)
CMYKcmyk(52.1%, 63.7%, 0%, 15.7%)
CIE-LABlab(43.12, 45.42, -67.12)
CIE-LCHlch(43.12, 81.04, 304.09°)
OKLaboklab(52.89% 0.0541 -0.1926)
OKLCHoklch(52.89% 0.2 285.7)
XYZxyz(20.5800, 13.2376, 65.7475)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674ED7 #BED74E
analogous
#4E79D7 #674ED7 #AC4ED7
triadic
#674ED7 #D7674E #4ED767
tetradic
#674ED7 #D74E79 #BED74E #4ED7AC
square
#674ED7 #D74E79 #BED74E #4ED7AC
split-complementary
#674ED7 #D7AC4E #79D74E
monochromatic
#331F8B #452BBD #674ED7 #9280E2 #BDB2EE

Accessibility & contrast

On white

5.76
#674ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#674ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674ED7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674ED7#FFFFFF#000000##FFFFFF
##674ED71.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#3A708B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #674ed7;
/* rgb */ color: rgb(103, 78, 215);
/* oklch */ color: oklch(52.9% 0.200 285.7);
Tailwind
colors: {
  custom: {
    50: '#9c81e4',
    500: '#674ed7',
    950: '#000000',
  },
}
SCSS
$custom: #674ed7;
$custom-light: #9c81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#674ed7",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 250.949,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.20002,
    "h": 285.7
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

primary
#674ED7
secondary
#D2DCA5
accent
#E642C8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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