#683D99#683D99

#683D99 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.7% C 0.146 H 302.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#683D99
RGBrgb(104, 61, 153)
HSLhsl(268, 43%, 42%)
HSVhsv(268, 60%, 60%)
CMYKcmyk(32%, 60.1%, 0%, 40%)
CIE-LABlab(35.16, 37.91, -43.49)
CIE-LCHlch(35.16, 57.70, 311.08°)
OKLaboklab(45.72% 0.0786 -0.1231)
OKLCHoklch(45.72% 0.146 302.6)
XYZxyz(13.1261, 8.5804, 31.0955)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683D99 #6E993D
analogous
#3D4099 #683D99 #963D99
triadic
#683D99 #99683D #3D9968
tetradic
#683D99 #993D40 #6E993D #3D9996
square
#683D99 #993D40 #6E993D #3D9996
split-complementary
#683D99 #99963D #40993D
monochromatic
#2D1A41 #4A2C6D #683D99 #8657BC #A683CE

Accessibility & contrast

On white

7.73
#683D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#683D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683D99
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683D99#FFFFFF#000000##FFFFFF
##683D991.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529C
Deuteranopia (green-blind)
#255297
Tritanopia (blue-blind)
#5F5065
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #683d99;
/* rgb */ color: rgb(104, 61, 153);
/* oklch */ color: oklch(45.7% 0.146 302.6);
Tailwind
colors: {
  custom: {
    50: '#9674b8',
    500: '#683d99',
    950: '#000000',
  },
}
SCSS
$custom: #683d99;
$custom-light: #9674b8;
$custom-dark: #000000;
JSON
{
  "hex": "#683d99",
  "rgb": {
    "r": 104,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 268.043,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.14603,
    "h": 302.6
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#683D99
secondary
#9BB87A
accent
#D35598
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683D99

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

Preview Lab → · Contrast checker → · Palette generator →

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