#674ABA#674ABA

#674ABA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.169 H 291.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#674ABA
RGBrgb(103, 74, 186)
HSLhsl(256, 45%, 51%)
HSVhsv(256, 60%, 73%)
CMYKcmyk(44.6%, 60.2%, 0%, 27.1%)
CIE-LABlab(40.12, 39.26, -55.17)
CIE-LCHlch(40.12, 67.72, 305.44°)
OKLaboklab(50.04% 0.0604 -0.1575)
OKLCHoklch(50.04% 0.169 291)
XYZxyz(16.9028, 11.3257, 47.7403)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674ABA #9DBA4A
analogous
#4A65BA #674ABA #9F4ABA
triadic
#674ABA #BA674A #4ABA67
tetradic
#674ABA #BA4A65 #9DBA4A #4ABA9F
square
#674ABA #BA4A65 #9DBA4A #4ABA9F
split-complementary
#674ABA #BA9F4A #65BA4A
monochromatic
#362664 #4E3790 #674ABA #8C76CB #B1A3DC

Accessibility & contrast

On white

6.43
#674ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#674ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674ABA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674ABA#FFFFFF#000000##FFFFFF
##674ABA1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#4F637B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #674aba;
/* rgb */ color: rgb(103, 74, 186);
/* oklch */ color: oklch(50.0% 0.169 291.0);
Tailwind
colors: {
  custom: {
    50: '#987ecf',
    500: '#674aba',
    950: '#000000',
  },
}
SCSS
$custom: #674aba;
$custom-light: #987ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#674aba",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 255.536,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.16865,
    "h": 291
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#674ABA
secondary
#BCC997
accent
#D553B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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