#674FC8#674FC8

#674FC8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.180 H 287.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#674FC8
RGBrgb(103, 79, 200)
HSLhsl(252, 52%, 55%)
HSVhsv(252, 61%, 78%)
CMYKcmyk(48.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(42.22, 40.42, -59.93)
CIE-LCHlch(42.22, 72.29, 304.00°)
OKLaboklab(51.89% 0.0542 -0.1714)
OKLCHoklch(51.89% 0.18 287.5)
XYZxyz(18.8118, 12.6448, 56.0819)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FC8 #B0C84F
analogous
#4F73C8 #674FC8 #A44FC8
triadic
#674FC8 #C8674F #4FC867
tetradic
#674FC8 #C84F73 #B0C84F #4FC8A4
square
#674FC8 #C84F73 #B0C84F #4FC8A4
split-complementary
#674FC8 #C8A44F #73C84F
monochromatic
#362577 #4A34A6 #674FC8 #8F7ED7 #B8ACE5

Accessibility & contrast

On white

5.95
#674FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#674FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FC8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FC8#FFFFFF#000000##FFFFFF
##674FC81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#466B84
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674fc8;
/* rgb */ color: rgb(103, 79, 200);
/* oklch */ color: oklch(51.9% 0.180 287.5);
Tailwind
colors: {
  custom: {
    50: '#9a81d9',
    500: '#674fc8',
    950: '#000000',
  },
}
SCSS
$custom: #674fc8;
$custom-light: #9a81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#674fc8",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 251.901,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.17981,
    "h": 287.5
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#674FC8
secondary
#C9D3A0
accent
#DC4CBF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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