#674DCB#674DCB

#674DCB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.186 H 287.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#674DCB
RGBrgb(103, 77, 203)
HSLhsl(252, 55%, 55%)
HSVhsv(252, 62%, 80%)
CMYKcmyk(49.3%, 62.1%, 0%, 20.4%)
CIE-LABlab(42.00, 42.46, -62.03)
CIE-LCHlch(42.00, 75.17, 304.39°)
OKLaboklab(51.8% 0.0561 -0.1776)
OKLCHoklch(51.8% 0.186 287.5)
XYZxyz(19.0237, 12.5023, 57.8991)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DCB #B1CB4D
analogous
#4D72CB #674DCB #A64DCB
triadic
#674DCB #CB674D #4DCB67
tetradic
#674DCB #CB4D72 #B1CB4D #4DCBA6
square
#674DCB #CB4D72 #B1CB4D #4DCBA6
split-complementary
#674DCB #CBA64D #72CB4D
monochromatic
#35247A #4A31A9 #674DCB #8F7CD9 #B8ACE7

Accessibility & contrast

On white

6.00
#674DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#674DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DCB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DCB#FFFFFF#000000##FFFFFF
##674DCB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#446B85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674dcb;
/* rgb */ color: rgb(103, 77, 203);
/* oklch */ color: oklch(51.8% 0.186 287.5);
Tailwind
colors: {
  custom: {
    50: '#9a80dc',
    500: '#674dcb',
    950: '#000000',
  },
}
SCSS
$custom: #674dcb;
$custom-light: #9a80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#674dcb",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 252.381,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.518,
    "c": 0.18627,
    "h": 287.5
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#674DCB
secondary
#C9D49F
accent
#DE4ABF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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