#674EDA#674EDA

#674EDA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.1% C 0.204 H 285.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#674EDA
RGBrgb(103, 78, 218)
HSLhsl(251, 65%, 58%)
HSVhsv(251, 64%, 85%)
CMYKcmyk(52.8%, 64.2%, 0%, 14.5%)
CIE-LABlab(43.35, 46.30, -68.46)
CIE-LCHlch(43.35, 82.65, 304.07°)
OKLaboklab(53.13% 0.0538 -0.1965)
OKLCHoklch(53.13% 0.204 285.3)
XYZxyz(20.9690, 13.3932, 67.7963)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EDA #C1DA4E
analogous
#4E7BDA #674EDA #AD4EDA
triadic
#674EDA #DA674E #4EDA67
tetradic
#674EDA #DA4E7B #C1DA4E #4EDAAD
square
#674EDA #DA4E7B #C1DA4E #4EDAAD
split-complementary
#674EDA #DAAD4E #7BDA4E
monochromatic
#321E90 #4429C2 #674EDA #9281E5 #BEB3EF

Accessibility & contrast

On white

5.71
#674EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#674EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EDA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EDA#FFFFFF#000000##FFFFFF
##674EDA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#38718D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #674eda;
/* rgb */ color: rgb(103, 78, 218);
/* oklch */ color: oklch(53.1% 0.204 285.3);
Tailwind
colors: {
  custom: {
    50: '#9c81e6',
    500: '#674eda',
    950: '#000000',
  },
}
SCSS
$custom: #674eda;
$custom-light: #9c81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#674eda",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 250.714,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.20374,
    "h": 285.3
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#674EDA
secondary
#D4DEA6
accent
#E83FCA
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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