#674CC3#674CC3

#674CC3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.177 H 289.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#674CC3
RGBrgb(103, 76, 195)
HSLhsl(254, 50%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(47.2%, 61%, 0%, 23.5%)
CIE-LABlab(41.20, 40.70, -58.68)
CIE-LCHlch(41.20, 71.42, 304.74°)
OKLaboklab(51.03% 0.0577 -0.1678)
OKLCHoklch(51.03% 0.177 289)
XYZxyz(18.0255, 11.9919, 52.9841)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CC3 #A8C34C
analogous
#4C6CC3 #674CC3 #A24CC3
triadic
#674CC3 #C3674C #4CC367
tetradic
#674CC3 #C34C6C #A8C34C #4CC3A2
square
#674CC3 #C34C6C #A8C34C #4CC3A2
split-complementary
#674CC3 #C3A24C #6CC34C
monochromatic
#36256F #4C359D #674CC3 #8E7AD2 #B5A8E2

Accessibility & contrast

On white

6.18
#674CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#674CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CC3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CC3#FFFFFF#000000##FFFFFF
##674CC31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#496880
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674cc3;
/* rgb */ color: rgb(103, 76, 195);
/* oklch */ color: oklch(51.0% 0.177 289.0);
Tailwind
colors: {
  custom: {
    50: '#997fd6',
    500: '#674cc3',
    950: '#000000',
  },
}
SCSS
$custom: #674cc3;
$custom-light: #997fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#674cc3",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 253.613,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.17743,
    "h": 289
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#674CC3
secondary
#C3CF9C
accent
#D94EBA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #674CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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