#674BD4#674BD4

#674BD4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.2% C 0.200 H 286.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#674BD4
RGBrgb(103, 75, 212)
HSLhsl(252, 61%, 56%)
HSVhsv(252, 65%, 83%)
CMYKcmyk(51.4%, 64.6%, 0%, 16.9%)
CIE-LABlab(42.26, 46.23, -66.80)
CIE-LCHlch(42.26, 81.23, 304.69°)
OKLaboklab(52.2% 0.0573 -0.1916)
OKLCHoklch(52.2% 0.2 286.6)
XYZxyz(19.9897, 12.6682, 63.6665)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BD4 #B8D44B
analogous
#4B74D4 #674BD4 #AC4BD4
triadic
#674BD4 #D4674B #4BD467
tetradic
#674BD4 #D44B74 #B8D44B #4BD4AC
square
#674BD4 #D44B74 #B8D44B #4BD4AC
split-complementary
#674BD4 #D4AC4B #74D44B
monochromatic
#342085 #482CB6 #674BD4 #917CE0 #BAAEEC

Accessibility & contrast

On white

5.94
#674BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674BD4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BD4#FFFFFF#000000##FFFFFF
##674BD41.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#3D6D89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674bd4;
/* rgb */ color: rgb(103, 75, 212);
/* oklch */ color: oklch(52.2% 0.200 286.6);
Tailwind
colors: {
  custom: {
    50: '#9b7fe2',
    500: '#674bd4',
    950: '#000000',
  },
}
SCSS
$custom: #674bd4;
$custom-light: #9b7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#674bd4",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 252.263,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.20002,
    "h": 286.6
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#674BD4
secondary
#CEDAA1
accent
#E543C4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #674BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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