#674CC9#674CC9

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

Color values

HEX#674CC9
RGBrgb(103, 76, 201)
HSLhsl(253, 54%, 54%)
HSVhsv(253, 62%, 79%)
CMYKcmyk(48.8%, 62.2%, 0%, 21.2%)
CIE-LABlab(41.64, 42.45, -61.46)
CIE-LCHlch(41.64, 74.69, 304.63°)
OKLaboklab(51.49% 0.0573 -0.1759)
OKLCHoklch(51.49% 0.185 288)
XYZxyz(18.7175, 12.2687, 56.6289)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CC9 #AEC94C
analogous
#4C70C9 #674CC9 #A64CC9
triadic
#674CC9 #C9674C #4CC967
tetradic
#674CC9 #C94C70 #AEC94C #4CC9A6
square
#674CC9 #C94C70 #AEC94C #4CC9A6
split-complementary
#674CC9 #C9A64C #70C94C
monochromatic
#362477 #4B32A6 #674CC9 #8F7BD7 #B7AAE5

Accessibility & contrast

On white

6.08
#674CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#674CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CC9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CC9#FFFFFF#000000##FFFFFF
##674CC91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#456A83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674cc9;
/* rgb */ color: rgb(103, 76, 201);
/* oklch */ color: oklch(51.5% 0.185 288.0);
Tailwind
colors: {
  custom: {
    50: '#9a7fda',
    500: '#674cc9',
    950: '#000000',
  },
}
SCSS
$custom: #674cc9;
$custom-light: #9a7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#674cc9",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 252.96,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51488,
    "c": 0.18504,
    "h": 288
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#674CC9
secondary
#C7D39E
accent
#DD4BBD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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