#674BD1#674BD1

#674BD1 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.196 H 287.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#674BD1
RGBrgb(103, 75, 209)
HSLhsl(253, 59%, 56%)
HSVhsv(253, 64%, 82%)
CMYKcmyk(50.7%, 64.1%, 0%, 18%)
CIE-LABlab(42.03, 45.35, -65.45)
CIE-LCHlch(42.03, 79.62, 304.72°)
OKLaboklab(51.96% 0.0576 -0.1877)
OKLCHoklch(51.96% 0.196 287.1)
XYZxyz(19.6148, 12.5182, 61.6920)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BD1 #B5D14B
analogous
#4B72D1 #674BD1 #AA4BD1
triadic
#674BD1 #D1674B #4BD167
tetradic
#674BD1 #D14B72 #B5D14B #4BD1AA
square
#674BD1 #D14B72 #B5D14B #4BD1AA
split-complementary
#674BD1 #D1AA4B #72D14B
monochromatic
#352181 #492DB1 #674BD1 #907CDD #B9ACEA

Accessibility & contrast

On white

5.99
#674BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674BD1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BD1#FFFFFF#000000##FFFFFF
##674BD11.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#406C87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674bd1;
/* rgb */ color: rgb(103, 75, 209);
/* oklch */ color: oklch(52.0% 0.196 287.1);
Tailwind
colors: {
  custom: {
    50: '#9b7fe0',
    500: '#674bd1',
    950: '#000000',
  },
}
SCSS
$custom: #674bd1;
$custom-light: #9b7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#674bd1",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 252.537,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.19631,
    "h": 287.1
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#674BD1
secondary
#CCD8A0
accent
#E245C2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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