#674CD5#674CD5

#674CD5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.4% C 0.200 H 286.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#674CD5
RGBrgb(103, 76, 213)
HSLhsl(252, 62%, 57%)
HSVhsv(252, 64%, 84%)
CMYKcmyk(51.6%, 64.3%, 0%, 16.5%)
CIE-LABlab(42.54, 45.96, -66.90)
CIE-LCHlch(42.54, 81.17, 304.49°)
OKLaboklab(52.43% 0.0562 -0.1919)
OKLCHoklch(52.43% 0.2 286.3)
XYZxyz(20.1846, 12.8555, 64.3557)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CD5 #BAD54C
analogous
#4C76D5 #674CD5 #AC4CD5
triadic
#674CD5 #D5674C #4CD567
tetradic
#674CD5 #D54C76 #BAD54C #4CD5AC
square
#674CD5 #D54C76 #BAD54C #4CD5AC
split-complementary
#674CD5 #D5AC4C #76D54C
monochromatic
#342087 #472BB9 #674CD5 #917EE1 #BBAFEC

Accessibility & contrast

On white

5.88
#674CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674CD5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CD5#FFFFFF#000000##FFFFFF
##674CD51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#3C6E8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674cd5;
/* rgb */ color: rgb(103, 76, 213);
/* oklch */ color: oklch(52.4% 0.200 286.3);
Tailwind
colors: {
  custom: {
    50: '#9c80e3',
    500: '#674cd5',
    950: '#000000',
  },
}
SCSS
$custom: #674cd5;
$custom-light: #9c80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#674cd5",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 251.825,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52429,
    "c": 0.20001,
    "h": 286.3
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#674CD5
secondary
#CFDAA2
accent
#E543C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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