#674AEF#674AEF

#674AEF is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.234 H 283.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#674AEF
RGBrgb(103, 74, 239)
HSLhsl(251, 84%, 61%)
HSVhsv(251, 69%, 94%)
CMYKcmyk(56.9%, 69%, 0%, 6.3%)
CIE-LABlab(44.25, 54.65, -78.90)
CIE-LCHlch(44.25, 95.97, 304.71°)
OKLaboklab(54.31% 0.0543 -0.2271)
OKLCHoklch(54.31% 0.234 283.4)
XYZxyz(23.6175, 14.0116, 83.1046)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AEF #D2EF4A
analogous
#4A80EF #674AEF #B94AEF
triadic
#674AEF #EF674A #4AEF67
tetradic
#674AEF #EF4A80 #D2EF4A #4AEFB9
square
#674AEF #EF4A80 #D2EF4A #4AEFB9
split-complementary
#674AEF #EFB94A #80EF4A
monochromatic
#2C0FAF #3A14E7 #674AEF #9682F4 #C5BAF9

Accessibility & contrast

On white

5.52
#674AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#674AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AEF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AEF#FFFFFF#000000##FFFFFF
##674AEF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF4
Deuteranopia (green-blind)
#0063EC
Tritanopia (blue-blind)
#1B7697
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #674aef;
/* rgb */ color: rgb(103, 74, 239);
/* oklch */ color: oklch(54.3% 0.234 283.4);
Tailwind
colors: {
  custom: {
    50: '#9f7ff5',
    500: '#674aef',
    950: '#000000',
  },
}
SCSS
$custom: #674aef;
$custom-light: #9f7ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#674aef",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 250.545,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.23355,
    "h": 283.4
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#674AEF
secondary
#DEE9AC
accent
#E005BA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #674AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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