#673ED8#673ED8

#673ED8 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.220 H 288.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#673ED8
RGBrgb(103, 62, 216)
HSLhsl(256, 66%, 55%)
HSVhsv(256, 71%, 85%)
CMYKcmyk(52.3%, 71.3%, 0%, 15.3%)
CIE-LABlab(40.06, 54.31, -72.69)
CIE-LCHlch(40.06, 90.74, 306.76°)
OKLaboklab(50.72% 0.0683 -0.2089)
OKLCHoklch(50.72% 0.22 288.1)
XYZxyz(19.7072, 11.2857, 66.0924)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673ED8 #AFD83E
analogous
#3E62D8 #673ED8 #B43ED8
triadic
#673ED8 #D8673E #3ED867
tetradic
#673ED8 #D83E62 #AFD83E #3ED8B4
square
#673ED8 #D83E62 #AFD83E #3ED8B4
split-complementary
#673ED8 #D8B43E #62D83E
monochromatic
#361A81 #4B24B4 #673ED8 #8F71E2 #B7A4ED

Accessibility & contrast

On white

6.45
#673ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#673ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #673ED8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673ED8#FFFFFF#000000##FFFFFF
##673ED81.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DD
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#3B6787
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #673ed8;
/* rgb */ color: rgb(103, 62, 216);
/* oklch */ color: oklch(50.7% 0.220 288.1);
Tailwind
colors: {
  custom: {
    50: '#9d77e5',
    500: '#673ed8',
    950: '#000000',
  },
}
SCSS
$custom: #673ed8;
$custom-light: #9d77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#673ed8",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 255.974,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.21979,
    "h": 288.1
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#673ED8
secondary
#C8D998
accent
#E93EBC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #673ED8

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

Preview Lab → · Contrast checker → · Palette generator →

#673ED8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva