#674FB8#674FB8

#674FB8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.159 H 290.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#674FB8
RGBrgb(103, 79, 184)
HSLhsl(254, 43%, 52%)
HSVhsv(254, 57%, 72%)
CMYKcmyk(44%, 57.1%, 0%, 27.8%)
CIE-LABlab(41.11, 35.75, -52.40)
CIE-LCHlch(41.11, 63.44, 304.30°)
OKLaboklab(50.72% 0.0546 -0.1493)
OKLCHoklch(50.72% 0.159 290.1)
XYZxyz(17.0388, 11.9356, 46.7442)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FB8 #A0B84F
analogous
#4F6CB8 #674FB8 #9C4FB8
triadic
#674FB8 #B8674F #4FB867
tetradic
#674FB8 #B84F6C #A0B84F #4FB89C
square
#674FB8 #B84F6C #A0B84F #4FB89C
split-complementary
#674FB8 #B89C4F #6CB84F
monochromatic
#362864 #4E3A90 #674FB8 #8D7BCA #B2A6DB

Accessibility & contrast

On white

6.20
#674FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674FB8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FB8#FFFFFF#000000##FFFFFF
##674FB81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F63BC
Deuteranopia (green-blind)
#165FB6
Tritanopia (blue-blind)
#4F667C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674fb8;
/* rgb */ color: rgb(103, 79, 184);
/* oklch */ color: oklch(50.7% 0.159 290.1);
Tailwind
colors: {
  custom: {
    50: '#9881ce',
    500: '#674fb8',
    950: '#000000',
  },
}
SCSS
$custom: #674fb8;
$custom-light: #9881ce;
$custom-dark: #000000;
JSON
{
  "hex": "#674fb8",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 253.714,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50724,
    "c": 0.15897,
    "h": 290.1
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#674FB8
secondary
#BEC89A
accent
#D256B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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