#674DC2#674DC2

#674DC2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.175 H 288.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#674DC2
RGBrgb(103, 77, 194)
HSLhsl(253, 49%, 53%)
HSVhsv(253, 60%, 76%)
CMYKcmyk(46.9%, 60.3%, 0%, 23.9%)
CIE-LABlab(41.35, 39.83, -57.86)
CIE-LCHlch(41.35, 70.25, 304.54°)
OKLaboklab(51.12% 0.0567 -0.1654)
OKLCHoklch(51.12% 0.175 288.9)
XYZxyz(17.9822, 12.0856, 52.4138)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DC2 #A8C24D
analogous
#4D6DC2 #674DC2 #A14DC2
triadic
#674DC2 #C2674D #4DC267
tetradic
#674DC2 #C24D6D #A8C24D #4DC2A1
square
#674DC2 #C24D6D #A8C24D #4DC2A1
split-complementary
#674DC2 #C2A14D #6DC24D
monochromatic
#36266F #4C369C #674DC2 #8E7BD2 #B5A8E1

Accessibility & contrast

On white

6.15
#674DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#674DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DC2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DC2#FFFFFF#000000##FFFFFF
##674DC21.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#4A6880
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674dc2;
/* rgb */ color: rgb(103, 77, 194);
/* oklch */ color: oklch(51.1% 0.175 288.9);
Tailwind
colors: {
  custom: {
    50: '#9980d5',
    500: '#674dc2',
    950: '#000000',
  },
}
SCSS
$custom: #674dc2;
$custom-light: #9980d5;
$custom-dark: #000000;
JSON
{
  "hex": "#674dc2",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 253.333,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51118,
    "c": 0.17479,
    "h": 288.9
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#674DC2
secondary
#C3CF9C
accent
#D94FBA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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