#683A9B#683A9B

#683A9B is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.153 H 302.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#683A9B
RGBrgb(104, 58, 155)
HSLhsl(268, 46%, 42%)
HSVhsv(268, 63%, 61%)
CMYKcmyk(32.9%, 62.6%, 0%, 39.2%)
CIE-LABlab(34.67, 40.10, -45.50)
CIE-LCHlch(34.67, 60.65, 311.39°)
OKLaboklab(45.41% 0.0823 -0.129)
OKLCHoklch(45.41% 0.153 302.6)
XYZxyz(13.1370, 8.3357, 31.9208)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683A9B #6D9B3A
analogous
#3A3C9B #683A9B #993A9B
triadic
#683A9B #9B683A #3A9B68
tetradic
#683A9B #9B3A3C #6D9B3A #3A9B99
square
#683A9B #9B3A3C #6D9B3A #3A9B99
split-complementary
#683A9B #9B993A #3C9B3A
monochromatic
#2C1942 #4A296E #683A9B #8653BF #A680CF

Accessibility & contrast

On white

7.87
#683A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #683A9B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683A9B#FFFFFF#000000##FFFFFF
##683A9B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#1D5199
Tritanopia (blue-blind)
#5E4E65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #683a9b;
/* rgb */ color: rgb(104, 58, 155);
/* oklch */ color: oklch(45.4% 0.153 302.6);
Tailwind
colors: {
  custom: {
    50: '#9773b9',
    500: '#683a9b',
    950: '#000000',
  },
}
SCSS
$custom: #683a9b;
$custom-light: #9773b9;
$custom-dark: #000000;
JSON
{
  "hex": "#683a9b",
  "rgb": {
    "r": 104,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 268.454,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.153,
    "h": 302.6
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#683A9B
secondary
#9AB978
accent
#D55397
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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