#674EC8#674EC8

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

Color values

HEX#674EC8
RGBrgb(103, 78, 200)
HSLhsl(252, 53%, 55%)
HSVhsv(252, 61%, 78%)
CMYKcmyk(48.5%, 61%, 0%, 21.6%)
CIE-LABlab(42.00, 41.00, -60.29)
CIE-LCHlch(42.00, 72.91, 304.22°)
OKLaboklab(51.73% 0.0553 -0.1725)
OKLCHoklch(51.73% 0.181 287.8)
XYZxyz(18.7402, 12.5017, 56.0580)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EC8 #AFC84E
analogous
#4E72C8 #674EC8 #A44EC8
triadic
#674EC8 #C8674E #4EC867
tetradic
#674EC8 #C84E72 #AFC84E #4EC8A4
square
#674EC8 #C84E72 #AFC84E #4EC8A4
split-complementary
#674EC8 #C8A44E #72C84E
monochromatic
#362577 #4B33A5 #674EC8 #8F7DD7 #B7ABE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674EC8#FFFFFF#000000##FFFFFF
##674EC81.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)
#0066CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#466A83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674ec8;
/* rgb */ color: rgb(103, 78, 200);
/* oklch */ color: oklch(51.7% 0.181 287.8);
Tailwind
colors: {
  custom: {
    50: '#9a81da',
    500: '#674ec8',
    950: '#000000',
  },
}
SCSS
$custom: #674ec8;
$custom-light: #9a81da;
$custom-dark: #000000;
JSON
{
  "hex": "#674ec8",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 252.295,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.18114,
    "h": 287.8
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#674EC8
secondary
#C8D39F
accent
#DC4CBE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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