#674AE4#674AE4

#674AE4 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.221 H 284.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#674AE4
RGBrgb(103, 74, 228)
HSLhsl(251, 74%, 59%)
HSVhsv(251, 68%, 89%)
CMYKcmyk(54.8%, 67.5%, 0%, 10.6%)
CIE-LABlab(43.33, 51.45, -74.18)
CIE-LCHlch(43.33, 90.27, 304.74°)
OKLaboklab(53.37% 0.0561 -0.2133)
OKLCHoklch(53.37% 0.221 284.7)
XYZxyz(22.0416, 13.3813, 74.8051)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AE4 #C7E44A
analogous
#4A7AE4 #674AE4 #B44AE4
triadic
#674AE4 #E4674A #4AE467
tetradic
#674AE4 #E44A7A #C7E44A #4AE4B4
square
#674AE4 #E44A7A #C7E44A #4AE4B4
split-complementary
#674AE4 #E4B44A #7AE44A
monochromatic
#30179C #411FD2 #674AE4 #947FEC #C0B5F4

Accessibility & contrast

On white

5.71
#674AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#674AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AE4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AE4#FFFFFF#000000##FFFFFF
##674AE41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#2D7291
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #674ae4;
/* rgb */ color: rgb(103, 74, 228);
/* oklch */ color: oklch(53.4% 0.221 284.7);
Tailwind
colors: {
  custom: {
    50: '#9e7fee',
    500: '#674ae4',
    950: '#000000',
  },
}
SCSS
$custom: #674ae4;
$custom-light: #9e7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#674ae4",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 251.299,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.22057,
    "h": 284.7
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#674AE4
secondary
#D8E3A7
accent
#F137CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #674AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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