#683F8A#683F8A

#683F8A is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.1% C 0.124 H 307.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#683F8A
RGBrgb(104, 63, 138)
HSLhsl(273, 37%, 39%)
HSVhsv(273, 54%, 54%)
CMYKcmyk(24.6%, 54.3%, 0%, 45.9%)
CIE-LABlab(34.67, 32.95, -35.13)
CIE-LCHlch(34.67, 48.16, 313.16°)
OKLaboklab(45.06% 0.0754 -0.0986)
OKLCHoklch(45.06% 0.124 307.4)
XYZxyz(12.0729, 8.3332, 25.0123)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683F8A #618A3F
analogous
#433F8A #683F8A #8A3F87
triadic
#683F8A #8A683F #3F8A68
tetradic
#683F8A #8A433F #618A3F #3F878A
square
#683F8A #8A433F #618A3F #3F878A
split-complementary
#683F8A #878A3F #3F8A43
monochromatic
#291936 #482C60 #683F8A #8755B1 #A57FC5

Accessibility & contrast

On white

7.88
#683F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#683F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683F8A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683F8A#FFFFFF#000000##FFFFFF
##683F8A1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#634C5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #683f8a;
/* rgb */ color: rgb(104, 63, 138);
/* oklch */ color: oklch(45.1% 0.124 307.4);
Tailwind
colors: {
  custom: {
    50: '#9575ac',
    500: '#683f8a',
    950: '#000000',
  },
}
SCSS
$custom: #683f8a;
$custom-light: #9575ac;
$custom-dark: #000000;
JSON
{
  "hex": "#683f8a",
  "rgb": {
    "r": 104,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 272.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.1241,
    "h": 307.4
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#683F8A
secondary
#90AF76
accent
#CD5B8F
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #683F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#683F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva