#674BCC#674BCC

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

Color values

HEX#674BCC
RGBrgb(103, 75, 204)
HSLhsl(253, 56%, 55%)
HSVhsv(253, 63%, 80%)
CMYKcmyk(49.5%, 63.2%, 0%, 20%)
CIE-LABlab(41.65, 43.89, -63.18)
CIE-LCHlch(41.65, 76.93, 304.79°)
OKLaboklab(51.57% 0.0581 -0.181)
OKLCHoklch(51.57% 0.19 287.8)
XYZxyz(19.0055, 12.2745, 58.4828)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BCC #B0CC4B
analogous
#4B70CC #674BCC #A74BCC
triadic
#674BCC #CC674B #4BCC67
tetradic
#674BCC #CC4B70 #B0CC4B #4BCCA7
square
#674BCC #CC4B70 #B0CC4B #4BCCA7
split-complementary
#674BCC #CCA74B #70CC4B
monochromatic
#36237A #4A30AA #674BCC #8F7BDA #B8AAE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674BCC#FFFFFF#000000##FFFFFF
##674BCC1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#436A85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674bcc;
/* rgb */ color: rgb(103, 75, 204);
/* oklch */ color: oklch(51.6% 0.190 287.8);
Tailwind
colors: {
  custom: {
    50: '#9a7fdc',
    500: '#674bcc',
    950: '#000000',
  },
}
SCSS
$custom: #674bcc;
$custom-light: #9a7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#674bcc",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 253.023,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.1901,
    "h": 287.8
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#674BCC
secondary
#C9D59E
accent
#DF49BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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