#674ED5#674ED5

#674ED5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.198 H 285.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#674ED5
RGBrgb(103, 78, 213)
HSLhsl(251, 62%, 57%)
HSVhsv(251, 63%, 84%)
CMYKcmyk(51.6%, 63.4%, 0%, 16.5%)
CIE-LABlab(42.97, 44.83, -66.22)
CIE-LCHlch(42.97, 79.97, 304.10°)
OKLaboklab(52.74% 0.0543 -0.1899)
OKLCHoklch(52.74% 0.198 285.9)
XYZxyz(20.3246, 13.1354, 64.4023)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674ED5 #BCD54E
analogous
#4E79D5 #674ED5 #AB4ED5
triadic
#674ED5 #D5674E #4ED567
tetradic
#674ED5 #D54E79 #BCD54E #4ED5AB
square
#674ED5 #D54E79 #BCD54E #4ED5AB
split-complementary
#674ED5 #D5AB4E #79D54E
monochromatic
#342088 #462CBA #674ED5 #917FE1 #BCB1EC

Accessibility & contrast

On white

5.79
#674ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#674ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674ED5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674ED5#FFFFFF#000000##FFFFFF
##674ED51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#3C6F8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674ed5;
/* rgb */ color: rgb(103, 78, 213);
/* oklch */ color: oklch(52.7% 0.198 285.9);
Tailwind
colors: {
  custom: {
    50: '#9b81e3',
    500: '#674ed5',
    950: '#000000',
  },
}
SCSS
$custom: #674ed5;
$custom-light: #9b81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#674ed5",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 251.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.19753,
    "h": 285.9
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#674ED5
secondary
#D1DBA4
accent
#E543C7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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