#674CD2#674CD2

#674CD2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.196 H 286.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#674CD2
RGBrgb(103, 76, 210)
HSLhsl(252, 60%, 56%)
HSVhsv(252, 64%, 82%)
CMYKcmyk(51%, 63.8%, 0%, 17.6%)
CIE-LABlab(42.31, 45.08, -65.56)
CIE-LCHlch(42.31, 79.56, 304.52°)
OKLaboklab(52.19% 0.0565 -0.188)
OKLCHoklch(52.19% 0.196 286.7)
XYZxyz(19.8074, 12.7046, 62.3688)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CD2 #B7D24C
analogous
#4C74D2 #674CD2 #AA4CD2
triadic
#674CD2 #D2674C #4CD267
tetradic
#674CD2 #D24C74 #B7D24C #4CD2AA
square
#674CD2 #D24C74 #B7D24C #4CD2AA
split-complementary
#674CD2 #D2AA4C #74D24C
monochromatic
#352183 #482DB4 #674CD2 #917DDE #BAAEEB

Accessibility & contrast

On white

5.93
#674CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#674CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CD2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CD2#FFFFFF#000000##FFFFFF
##674CD21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #674cd2;
/* rgb */ color: rgb(103, 76, 210);
/* oklch */ color: oklch(52.2% 0.196 286.7);
Tailwind
colors: {
  custom: {
    50: '#9b7fe1',
    500: '#674cd2',
    950: '#000000',
  },
}
SCSS
$custom: #674cd2;
$custom-light: #9b7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#674cd2",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 252.09,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.19631,
    "h": 286.7
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#674CD2
secondary
#CDD9A1
accent
#E345C3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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