#674BD2#674BD2

#674BD2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.198 H 286.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#674BD2
RGBrgb(103, 75, 210)
HSLhsl(252, 60%, 56%)
HSVhsv(252, 64%, 82%)
CMYKcmyk(51%, 64.3%, 0%, 17.6%)
CIE-LABlab(42.10, 45.64, -65.90)
CIE-LCHlch(42.10, 80.16, 304.71°)
OKLaboklab(52.04% 0.0575 -0.189)
OKLCHoklch(52.04% 0.198 286.9)
XYZxyz(19.7390, 12.5679, 62.3460)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BD2 #B6D24B
analogous
#4B72D2 #674BD2 #AA4BD2
triadic
#674BD2 #D2674B #4BD267
tetradic
#674BD2 #D24B72 #B6D24B #4BD2AA
square
#674BD2 #D24B72 #B6D24B #4BD2AA
split-complementary
#674BD2 #D2AA4B #72D24B
monochromatic
#352182 #492DB3 #674BD2 #907CDE #BAADEA

Accessibility & contrast

On white

5.98
#674BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#674BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BD2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BD2#FFFFFF#000000##FFFFFF
##674BD21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#3F6C88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674bd2;
/* rgb */ color: rgb(103, 75, 210);
/* oklch */ color: oklch(52.0% 0.198 286.9);
Tailwind
colors: {
  custom: {
    50: '#9b7fe1',
    500: '#674bd2',
    950: '#000000',
  },
}
SCSS
$custom: #674bd2;
$custom-light: #9b7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#674bd2",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 252.444,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.19756,
    "h": 286.9
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#674BD2
secondary
#CDD8A0
accent
#E345C2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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