#683A9D#683A9D

#683A9D is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.155 H 301.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#683A9D
RGBrgb(104, 58, 157)
HSLhsl(268, 46%, 42%)
HSVhsv(268, 63%, 62%)
CMYKcmyk(33.8%, 63.1%, 0%, 38.4%)
CIE-LABlab(34.81, 40.62, -46.49)
CIE-LCHlch(34.81, 61.73, 311.15°)
OKLaboklab(45.55% 0.0822 -0.1319)
OKLCHoklch(45.55% 0.155 301.9)
XYZxyz(13.3064, 8.4035, 32.8128)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683A9D #6F9D3A
analogous
#3A3D9D #683A9D #9A3A9D
triadic
#683A9D #9D683A #3A9D68
tetradic
#683A9D #9D3A3D #6F9D3A #3A9D9A
square
#683A9D #9D3A3D #6F9D3A #3A9D9A
split-complementary
#683A9D #9D9A3A #3D9D3A
monochromatic
#2D1944 #4A2970 #683A9D #8654C0 #A681D0

Accessibility & contrast

On white

7.83
#683A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#683A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683A9D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683A9D#FFFFFF#000000##FFFFFF
##683A9D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#1A519B
Tritanopia (blue-blind)
#5D4F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #683a9d;
/* rgb */ color: rgb(104, 58, 157);
/* oklch */ color: oklch(45.6% 0.155 301.9);
Tailwind
colors: {
  custom: {
    50: '#9773bb',
    500: '#683a9d',
    950: '#000000',
  },
}
SCSS
$custom: #683a9d;
$custom-light: #9773bb;
$custom-dark: #000000;
JSON
{
  "hex": "#683a9d",
  "rgb": {
    "r": 104,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 267.879,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4555,
    "c": 0.15541,
    "h": 301.9
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#683A9D
secondary
#9CBA79
accent
#D65299
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #683A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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