#674CC1#674CC1

#674CC1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.175 H 289.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#674CC1
RGBrgb(103, 76, 193)
HSLhsl(254, 49%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(46.6%, 60.6%, 0%, 24.3%)
CIE-LABlab(41.06, 40.12, -57.75)
CIE-LCHlch(41.06, 70.32, 304.79°)
OKLaboklab(50.88% 0.0578 -0.165)
OKLCHoklch(50.88% 0.175 289.3)
XYZxyz(17.8009, 11.9020, 51.8011)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CC1 #A6C14C
analogous
#4C6BC1 #674CC1 #A14CC1
triadic
#674CC1 #C1674C #4CC167
tetradic
#674CC1 #C14C6B #A6C14C #4CC1A1
square
#674CC1 #C14C6B #A6C14C #4CC1A1
split-complementary
#674CC1 #C1A14C #6BC14C
monochromatic
#36266D #4D359A #674CC1 #8E79D1 #B4A7E0

Accessibility & contrast

On white

6.21
#674CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#674CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CC1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CC1#FFFFFF#000000##FFFFFF
##674CC11.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#4A677F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674cc1;
/* rgb */ color: rgb(103, 76, 193);
/* oklch */ color: oklch(50.9% 0.175 289.3);
Tailwind
colors: {
  custom: {
    50: '#997fd4',
    500: '#674cc1',
    950: '#000000',
  },
}
SCSS
$custom: #674cc1;
$custom-light: #997fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#674cc1",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 253.846,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.17487,
    "h": 289.3
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#674CC1
secondary
#C2CE9B
accent
#D850B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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