#674AE7#674AE7

#674AE7 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.224 H 284.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#674AE7
RGBrgb(103, 74, 231)
HSLhsl(251, 77%, 60%)
HSVhsv(251, 68%, 91%)
CMYKcmyk(55.4%, 68%, 0%, 9.4%)
CIE-LABlab(43.58, 52.32, -75.48)
CIE-LCHlch(43.58, 91.84, 304.73°)
OKLaboklab(53.62% 0.0556 -0.2171)
OKLCHoklch(53.62% 0.224 284.4)
XYZxyz(22.4617, 13.5493, 77.0175)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AE7 #CAE74A
analogous
#4A7BE7 #674AE7 #B64AE7
triadic
#674AE7 #E7674A #4AE767
tetradic
#674AE7 #E74A7B #CAE74A #4AE7B6
square
#674AE7 #E74A7B #CAE74A #4AE7B6
split-complementary
#674AE7 #E7B64A #7BE74A
monochromatic
#2F15A1 #3F1DD7 #674AE7 #9480EE #C2B6F5

Accessibility & contrast

On white

5.66
#674AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#674AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AE7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AE7#FFFFFF#000000##FFFFFF
##674AE71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#297393
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #674ae7;
/* rgb */ color: rgb(103, 74, 231);
/* oklch */ color: oklch(53.6% 0.224 284.4);
Tailwind
colors: {
  custom: {
    50: '#9e7ff0',
    500: '#674ae7',
    950: '#000000',
  },
}
SCSS
$custom: #674ae7;
$custom-light: #9e7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#674ae7",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 251.083,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.22413,
    "h": 284.4
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#674AE7
secondary
#DAE5A8
accent
#F335D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #674AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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