#674CCE#674CCE

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

Color values

HEX#674CCE
RGBrgb(103, 76, 206)
HSLhsl(252, 57%, 55%)
HSVhsv(252, 63%, 81%)
CMYKcmyk(50%, 63.1%, 0%, 19.2%)
CIE-LABlab(42.01, 43.91, -63.74)
CIE-LCHlch(42.01, 77.40, 304.56°)
OKLaboklab(51.88% 0.0569 -0.1827)
OKLCHoklch(51.88% 0.191 287.3)
XYZxyz(19.3153, 12.5078, 59.7770)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CCE #B3CE4C
analogous
#4C72CE #674CCE #A84CCE
triadic
#674CCE #CE674C #4CCE67
tetradic
#674CCE #CE4C72 #B3CE4C #4CCEA8
square
#674CCE #CE4C72 #B3CE4C #4CCEA8
split-complementary
#674CCE #CEA84C #72CE4C
monochromatic
#35227D #4A2FAD #674CCE #907CDB #B9ACE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674CCE#FFFFFF#000000##FFFFFF
##674CCE1.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)
#0066D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#426B86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674cce;
/* rgb */ color: rgb(103, 76, 206);
/* oklch */ color: oklch(51.9% 0.191 287.3);
Tailwind
colors: {
  custom: {
    50: '#9b7fde',
    500: '#674cce',
    950: '#000000',
  },
}
SCSS
$custom: #674cce;
$custom-light: #9b7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#674cce",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 252.462,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.19133,
    "h": 287.3
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#674CCE
secondary
#CBD6A0
accent
#E048C1
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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