#683D96#683D96

#683D96 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.5% C 0.142 H 303.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#683D96
RGBrgb(104, 61, 150)
HSLhsl(269, 42%, 41%)
HSVhsv(269, 59%, 59%)
CMYKcmyk(30.7%, 59.3%, 0%, 41.2%)
CIE-LABlab(34.97, 37.14, -41.99)
CIE-LCHlch(34.97, 56.05, 311.49°)
OKLaboklab(45.52% 0.0786 -0.1187)
OKLCHoklch(45.52% 0.142 303.5)
XYZxyz(12.8814, 8.4826, 29.8069)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683D96 #6B963D
analogous
#3D3F96 #683D96 #953D96
triadic
#683D96 #96683D #3D9668
tetradic
#683D96 #963D3F #6B963D #3D9695
square
#683D96 #963D3F #6B963D #3D9695
split-complementary
#683D96 #96953D #3F963D
monochromatic
#2C1A3F #4A2B6A #683D96 #8656BA #A581CC

Accessibility & contrast

On white

7.79
#683D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#683D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683D96
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683D96#FFFFFF#000000##FFFFFF
##683D961.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155199
Deuteranopia (green-blind)
#285294
Tritanopia (blue-blind)
#5F4F63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #683d96;
/* rgb */ color: rgb(104, 61, 150);
/* oklch */ color: oklch(45.5% 0.142 303.5);
Tailwind
colors: {
  custom: {
    50: '#9674b5',
    500: '#683d96',
    950: '#000000',
  },
}
SCSS
$custom: #683d96;
$custom-light: #9674b5;
$custom-dark: #000000;
JSON
{
  "hex": "#683d96",
  "rgb": {
    "r": 104,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 268.989,
    "s": 42.18,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.14233,
    "h": 303.5
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#683D96
secondary
#98B679
accent
#D25696
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683D96

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

Preview Lab → · Contrast checker → · Palette generator →

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