#674BC5#674BC5

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

Color values

HEX#674BC5
RGBrgb(103, 75, 197)
HSLhsl(254, 51%, 53%)
HSVhsv(254, 62%, 77%)
CMYKcmyk(47.7%, 61.9%, 0%, 22.7%)
CIE-LABlab(41.13, 41.86, -59.97)
CIE-LCHlch(41.13, 73.13, 304.92°)
OKLaboklab(51.03% 0.0587 -0.1715)
OKLCHoklch(51.03% 0.181 288.9)
XYZxyz(18.1847, 11.9462, 54.1602)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BC5 #A9C54B
analogous
#4B6CC5 #674BC5 #A44BC5
triadic
#674BC5 #C5674B #4BC567
tetradic
#674BC5 #C54B6C #A9C54B #4BC5A4
square
#674BC5 #C54B6C #A9C54B #4BC5A4
split-complementary
#674BC5 #C5A44B #6CC54B
monochromatic
#362471 #4C339F #674BC5 #8E79D4 #B5A8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674BC5#FFFFFF#000000##FFFFFF
##674BC51.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)
#0064C9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#486881
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674bc5;
/* rgb */ color: rgb(103, 75, 197);
/* oklch */ color: oklch(51.0% 0.181 288.9);
Tailwind
colors: {
  custom: {
    50: '#9a7fd7',
    500: '#674bc5',
    950: '#000000',
  },
}
SCSS
$custom: #674bc5;
$custom-light: #9a7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#674bc5",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 253.77,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.1813,
    "h": 288.9
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#674BC5
secondary
#C4D09C
accent
#DB4DBA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #674BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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