#683BA6#683BA6

#683BA6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.165 H 299.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#683BA6
RGBrgb(104, 59, 166)
HSLhsl(265, 48%, 44%)
HSVhsv(265, 64%, 65%)
CMYKcmyk(37.3%, 64.5%, 0%, 34.9%)
CIE-LABlab(35.64, 42.42, -50.56)
CIE-LCHlch(35.64, 66.00, 310.00°)
OKLaboklab(46.36% 0.0804 -0.1438)
OKLCHoklch(46.36% 0.165 299.2)
XYZxyz(14.1541, 8.8240, 37.0265)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683BA6 #79A63B
analogous
#3B43A6 #683BA6 #9E3BA6
triadic
#683BA6 #A6683B #3BA668
tetradic
#683BA6 #A63B43 #79A63B #3BA69E
square
#683BA6 #A63B43 #79A63B #3BA69E
split-complementary
#683BA6 #A69E3B #43A63B
monochromatic
#2F1B4C #4C2B79 #683BA6 #875AC4 #A887D4

Accessibility & contrast

On white

7.60
#683BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#683BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683BA6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683BA6#FFFFFF#000000##FFFFFF
##683BA61.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0553A4
Tritanopia (blue-blind)
#5A536B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #683ba6;
/* rgb */ color: rgb(104, 59, 166);
/* oklch */ color: oklch(46.4% 0.165 299.2);
Tailwind
colors: {
  custom: {
    50: '#9874c1',
    500: '#683ba6',
    950: '#000000',
  },
}
SCSS
$custom: #683ba6;
$custom-light: #9874c1;
$custom-dark: #000000;
JSON
{
  "hex": "#683ba6",
  "rgb": {
    "r": 104,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 265.234,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.16479,
    "h": 299.2
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#683BA6
secondary
#A4BF7E
accent
#D7519F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #683BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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