#674ED2#674ED2

#674ED2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.194 H 286.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#674ED2
RGBrgb(103, 78, 210)
HSLhsl(251, 59%, 56%)
HSVhsv(251, 63%, 82%)
CMYKcmyk(51%, 62.9%, 0%, 17.6%)
CIE-LABlab(42.74, 43.94, -64.86)
CIE-LCHlch(42.74, 78.35, 304.12°)
OKLaboklab(52.5% 0.0546 -0.1859)
OKLCHoklch(52.5% 0.194 286.3)
XYZxyz(19.9473, 12.9845, 62.4155)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674ED2 #B9D24E
analogous
#4E77D2 #674ED2 #A94ED2
triadic
#674ED2 #D2674E #4ED267
tetradic
#674ED2 #D24E77 #B9D24E #4ED2A9
square
#674ED2 #D24E77 #B9D24E #4ED2A9
split-complementary
#674ED2 #D2A94E #77D24E
monochromatic
#342284 #482EB5 #674ED2 #917FDE #BBB0EB

Accessibility & contrast

On white

5.84
#674ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#674ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674ED2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674ED2#FFFFFF#000000##FFFFFF
##674ED21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#3F6E89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674ed2;
/* rgb */ color: rgb(103, 78, 210);
/* oklch */ color: oklch(52.5% 0.194 286.3);
Tailwind
colors: {
  custom: {
    50: '#9b81e1',
    500: '#674ed2',
    950: '#000000',
  },
}
SCSS
$custom: #674ed2;
$custom-light: #9b81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#674ed2",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 251.364,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.525,
    "c": 0.19379,
    "h": 286.3
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#674ED2
secondary
#CFD9A3
accent
#E345C5
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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