#674AC8#674AC8

#674AC8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.186 H 288.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#674AC8
RGBrgb(103, 74, 200)
HSLhsl(254, 53%, 54%)
HSVhsv(254, 63%, 78%)
CMYKcmyk(48.5%, 63%, 0%, 21.6%)
CIE-LABlab(41.14, 43.30, -61.70)
CIE-LCHlch(41.14, 75.37, 305.06°)
OKLaboklab(51.1% 0.0595 -0.1766)
OKLCHoklch(51.1% 0.186 288.6)
XYZxyz(18.4646, 11.9505, 55.9661)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AC8 #ABC84A
analogous
#4A6CC8 #674AC8 #A64AC8
triadic
#674AC8 #C8674A #4AC867
tetradic
#674AC8 #C84A6C #ABC84A #4AC8A6
square
#674AC8 #C84A6C #ABC84A #4AC8A6
split-complementary
#674AC8 #C8A64A #6CC84A
monochromatic
#362374 #4C32A3 #674AC8 #8E79D6 #B6A8E5

Accessibility & contrast

On white

6.19
#674AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#674AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AC8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AC8#FFFFFF#000000##FFFFFF
##674AC81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#466882
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674ac8;
/* rgb */ color: rgb(103, 74, 200);
/* oklch */ color: oklch(51.1% 0.186 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a7eda',
    500: '#674ac8',
    950: '#000000',
  },
}
SCSS
$custom: #674ac8;
$custom-light: #9a7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#674ac8",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 253.81,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.18638,
    "h": 288.6
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#674AC8
secondary
#C5D29C
accent
#DD4BBB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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