#674DC7#674DC7

#674DC7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.181 H 288.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#674DC7
RGBrgb(103, 77, 199)
HSLhsl(253, 52%, 54%)
HSVhsv(253, 61%, 78%)
CMYKcmyk(48.2%, 61.3%, 0%, 22%)
CIE-LABlab(41.71, 41.29, -60.18)
CIE-LCHlch(41.71, 72.99, 304.45°)
OKLaboklab(51.49% 0.0564 -0.1722)
OKLCHoklch(51.49% 0.181 288.1)
XYZxyz(18.5532, 12.3140, 55.4210)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DC7 #ADC74D
analogous
#4D70C7 #674DC7 #A44DC7
triadic
#674DC7 #C7674D #4DC767
tetradic
#674DC7 #C74D70 #ADC74D #4DC7A4
square
#674DC7 #C74D70 #ADC74D #4DC7A4
split-complementary
#674DC7 #C7A44D #70C74D
monochromatic
#362575 #4B33A3 #674DC7 #8F7CD6 #B7AAE4

Accessibility & contrast

On white

6.06
#674DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#674DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DC7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DC7#FFFFFF#000000##FFFFFF
##674DC71.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#476A83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674dc7;
/* rgb */ color: rgb(103, 77, 199);
/* oklch */ color: oklch(51.5% 0.181 288.1);
Tailwind
colors: {
  custom: {
    50: '#9a80d9',
    500: '#674dc7',
    950: '#000000',
  },
}
SCSS
$custom: #674dc7;
$custom-light: #9a80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#674dc7",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 252.787,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.1812,
    "h": 288.1
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#674DC7
secondary
#C7D29E
accent
#DC4CBD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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