#674AE5#674AE5

#674AE5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.222 H 284.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#674AE5
RGBrgb(103, 74, 229)
HSLhsl(251, 75%, 59%)
HSVhsv(251, 68%, 90%)
CMYKcmyk(55%, 67.7%, 0%, 10.2%)
CIE-LABlab(43.41, 51.74, -74.61)
CIE-LCHlch(43.41, 90.80, 304.74°)
OKLaboklab(53.45% 0.0559 -0.2146)
OKLCHoklch(53.45% 0.222 284.6)
XYZxyz(22.1809, 13.4370, 75.5384)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AE5 #C8E54A
analogous
#4A7BE5 #674AE5 #B54AE5
triadic
#674AE5 #E5674A #4AE567
tetradic
#674AE5 #E54A7B #C8E54A #4AE5B5
square
#674AE5 #E54A7B #C8E54A #4AE5B5
split-complementary
#674AE5 #E5B54A #7BE54A
monochromatic
#30179E #401ED3 #674AE5 #9480ED #C1B5F4

Accessibility & contrast

On white

5.69
#674AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#674AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AE5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AE5#FFFFFF#000000##FFFFFF
##674AE51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#2C7292
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #674ae5;
/* rgb */ color: rgb(103, 74, 229);
/* oklch */ color: oklch(53.5% 0.222 284.6);
Tailwind
colors: {
  custom: {
    50: '#9e7fee',
    500: '#674ae5',
    950: '#000000',
  },
}
SCSS
$custom: #674ae5;
$custom-light: #9e7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#674ae5",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 251.226,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.22176,
    "h": 284.6
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#674AE5
secondary
#D8E4A7
accent
#F136CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #674AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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