#674CC2#674CC2

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

Color values

HEX#674CC2
RGBrgb(103, 76, 194)
HSLhsl(254, 49%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(46.9%, 60.8%, 0%, 23.9%)
CIE-LABlab(41.13, 40.41, -58.22)
CIE-LCHlch(41.13, 70.87, 304.77°)
OKLaboklab(50.96% 0.0578 -0.1664)
OKLCHoklch(50.96% 0.176 289.1)
XYZxyz(17.9128, 11.9468, 52.3906)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CC2 #A7C24C
analogous
#4C6CC2 #674CC2 #A24CC2
triadic
#674CC2 #C2674C #4CC267
tetradic
#674CC2 #C24C6C #A7C24C #4CC2A2
square
#674CC2 #C24C6C #A7C24C #4CC2A2
split-complementary
#674CC2 #C2A24C #6CC24C
monochromatic
#36266E #4D359C #674CC2 #8E7AD2 #B5A7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674CC2#FFFFFF#000000##FFFFFF
##674CC21.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)
#0063C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#4A6780
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674cc2;
/* rgb */ color: rgb(103, 76, 194);
/* oklch */ color: oklch(51.0% 0.176 289.1);
Tailwind
colors: {
  custom: {
    50: '#997fd5',
    500: '#674cc2',
    950: '#000000',
  },
}
SCSS
$custom: #674cc2;
$custom-light: #997fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#674cc2",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 253.729,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.17616,
    "h": 289.1
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#674CC2
secondary
#C3CE9B
accent
#D94FB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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