#674FCC#674FCC

#674FCC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.185 H 287.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#674FCC
RGBrgb(103, 79, 204)
HSLhsl(252, 55%, 55%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(49.5%, 61.3%, 0%, 20%)
CIE-LABlab(42.51, 41.60, -61.78)
CIE-LCHlch(42.51, 74.48, 303.96°)
OKLaboklab(52.19% 0.054 -0.1769)
OKLCHoklch(52.19% 0.185 287)
XYZxyz(19.2854, 12.8343, 58.5761)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FCC #B4CC4F
analogous
#4F75CC #674FCC #A54FCC
triadic
#674FCC #CC674F #4FCC67
tetradic
#674FCC #CC4F75 #B4CC4F #4FCCA5
square
#674FCC #CC4F75 #B4CC4F #4FCCA5
split-complementary
#674FCC #CCA54F #75CC4F
monochromatic
#35247D #4932AC #674FCC #907EDA #B9AEE7

Accessibility & contrast

On white

5.89
#674FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#674FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FCC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FCC#FFFFFF#000000##FFFFFF
##674FCC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#436C86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674fcc;
/* rgb */ color: rgb(103, 79, 204);
/* oklch */ color: oklch(52.2% 0.185 287.0);
Tailwind
colors: {
  custom: {
    50: '#9a81dc',
    500: '#674fcc',
    950: '#000000',
  },
}
SCSS
$custom: #674fcc;
$custom-light: #9a81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#674fcc",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 251.52,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52194,
    "c": 0.18493,
    "h": 287
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#674FCC
secondary
#CBD5A1
accent
#DE49C2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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