#674BC2#674BC2

#674BC2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.177 H 289.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#674BC2
RGBrgb(103, 75, 194)
HSLhsl(254, 49%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(46.9%, 61.3%, 0%, 23.9%)
CIE-LABlab(40.91, 40.99, -58.57)
CIE-LCHlch(40.91, 71.49, 304.98°)
OKLaboklab(50.8% 0.0588 -0.1675)
OKLCHoklch(50.8% 0.178 289.4)
XYZxyz(17.8444, 11.8101, 52.3678)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BC2 #A6C24B
analogous
#4B6AC2 #674BC2 #A34BC2
triadic
#674BC2 #C2674B #4BC267
tetradic
#674BC2 #C24B6A #A6C24B #4BC2A3
square
#674BC2 #C24B6A #A6C24B #4BC2A3
split-complementary
#674BC2 #C2A34B #6AC24B
monochromatic
#36256D #4D359B #674BC2 #8E79D1 #B4A6E1

Accessibility & contrast

On white

6.25
#674BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#674BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BC2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BC2#FFFFFF#000000##FFFFFF
##674BC21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#4A677F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674bc2;
/* rgb */ color: rgb(103, 75, 194);
/* oklch */ color: oklch(50.8% 0.177 289.4);
Tailwind
colors: {
  custom: {
    50: '#997ed5',
    500: '#674bc2',
    950: '#000000',
  },
}
SCSS
$custom: #674bc2;
$custom-light: #997ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#674bc2",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 254.118,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.1775,
    "h": 289.4
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#674BC2
secondary
#C2CE9B
accent
#D94FB8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #674BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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