#674BBF#674BBF

#674BBF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.174 H 289.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#674BBF
RGBrgb(103, 75, 191)
HSLhsl(254, 48%, 52%)
HSVhsv(254, 61%, 75%)
CMYKcmyk(46.1%, 60.7%, 0%, 25.1%)
CIE-LABlab(40.70, 40.12, -57.17)
CIE-LCHlch(40.70, 69.85, 305.06°)
OKLaboklab(50.57% 0.059 -0.1633)
OKLCHoklch(50.57% 0.174 289.9)
XYZxyz(17.5109, 11.6767, 50.6113)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BBF #A3BF4B
analogous
#4B69BF #674BBF #A14BBF
triadic
#674BBF #BF674B #4BBF67
tetradic
#674BBF #BF4B69 #A3BF4B #4BBFA1
square
#674BBF #BF4B69 #A3BF4B #4BBFA1
split-complementary
#674BBF #BFA14B #69BF4B
monochromatic
#36266A #4D3697 #674BBF #8D78CF #B3A5DF

Accessibility & contrast

On white

6.30
#674BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#674BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BBF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BBF#FFFFFF#000000##FFFFFF
##674BBF1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#4C667E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674bbf;
/* rgb */ color: rgb(103, 75, 191);
/* oklch */ color: oklch(50.6% 0.174 289.9);
Tailwind
colors: {
  custom: {
    50: '#997ed3',
    500: '#674bbf',
    950: '#000000',
  },
}
SCSS
$custom: #674bbf;
$custom-light: #997ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#674bbf",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 254.483,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50572,
    "c": 0.17367,
    "h": 289.9
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#674BBF
secondary
#C0CC9A
accent
#D751B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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