#674FA8#674FA8

#674FA8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.6% C 0.138 H 293.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#674FA8
RGBrgb(103, 79, 168)
HSLhsl(256, 36%, 48%)
HSVhsv(256, 53%, 66%)
CMYKcmyk(38.7%, 53%, 0%, 34.1%)
CIE-LABlab(40.09, 31.16, -44.61)
CIE-LCHlch(40.09, 54.42, 304.94°)
OKLaboklab(49.63% 0.0541 -0.1264)
OKLCHoklch(49.63% 0.138 293.2)
XYZxyz(15.4555, 11.3023, 38.4055)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FA8 #90A84F
analogous
#4F63A8 #674FA8 #934FA8
triadic
#674FA8 #A8674F #4FA867
tetradic
#674FA8 #A84F63 #90A84F #4FA893
square
#674FA8 #A84F63 #90A84F #4FA893
split-complementary
#674FA8 #A8934F #63A84F
monochromatic
#342855 #4D3B7E #674FA8 #8976BE #AD9FD2

Accessibility & contrast

On white

6.44
#674FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#674FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FA8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FA8#FFFFFF#000000##FFFFFF
##674FA81.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#2E5DA6
Tritanopia (blue-blind)
#576174
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674fa8;
/* rgb */ color: rgb(103, 79, 168);
/* oklch */ color: oklch(49.6% 0.138 293.2);
Tailwind
colors: {
  custom: {
    50: '#9681c2',
    500: '#674fa8',
    950: '#000000',
  },
}
SCSS
$custom: #674fa8;
$custom-light: #9681c2;
$custom-dark: #000000;
JSON
{
  "hex": "#674fa8",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 256.18,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.1375,
    "h": 293.2
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#674FA8
secondary
#B3BF94
accent
#CC5CAE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #674FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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