#674BB2#674BB2

#674BB2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.6% C 0.157 H 292.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#674BB2
RGBrgb(103, 75, 178)
HSLhsl(256, 41%, 50%)
HSVhsv(256, 58%, 70%)
CMYKcmyk(42.1%, 57.9%, 0%, 30.2%)
CIE-LABlab(39.80, 36.39, -50.99)
CIE-LCHlch(39.80, 62.65, 305.51°)
OKLaboklab(49.63% 0.0594 -0.1452)
OKLCHoklch(49.63% 0.157 292.2)
XYZxyz(16.1433, 11.1296, 43.4085)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BB2 #96B24B
analogous
#4B63B2 #674BB2 #9B4BB2
triadic
#674BB2 #B2674B #4BB267
tetradic
#674BB2 #B24B63 #96B24B #4BB29B
square
#674BB2 #B24B63 #96B24B #4BB29B
split-complementary
#674BB2 #B29B4B #63B24B
monochromatic
#35275C #4E3987 #674BB2 #8B75C5 #AFA0D7

Accessibility & contrast

On white

6.51
#674BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#674BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BB2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BB2#FFFFFF#000000##FFFFFF
##674BB21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5FB5
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#526177
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674bb2;
/* rgb */ color: rgb(103, 75, 178);
/* oklch */ color: oklch(49.6% 0.157 292.2);
Tailwind
colors: {
  custom: {
    50: '#977eca',
    500: '#674bb2',
    950: '#000000',
  },
}
SCSS
$custom: #674bb2;
$custom-light: #977eca;
$custom-dark: #000000;
JSON
{
  "hex": "#674bb2",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 256.311,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49626,
    "c": 0.15685,
    "h": 292.2
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

primary
#674BB2
secondary
#B7C495
accent
#D157B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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