#683D97#683D97

#683D97 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.6% C 0.144 H 303.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#683D97
RGBrgb(104, 61, 151)
HSLhsl(269, 42%, 42%)
HSVhsv(269, 60%, 59%)
CMYKcmyk(31.1%, 59.6%, 0%, 40.8%)
CIE-LABlab(35.03, 37.40, -42.49)
CIE-LCHlch(35.03, 56.60, 311.35°)
OKLaboklab(45.59% 0.0786 -0.1201)
OKLCHoklch(45.59% 0.144 303.2)
XYZxyz(12.9623, 8.5149, 30.2328)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683D97 #6C973D
analogous
#3D3F97 #683D97 #953D97
triadic
#683D97 #97683D #3D9768
tetradic
#683D97 #973D3F #6C973D #3D9795
square
#683D97 #973D3F #6C973D #3D9795
split-complementary
#683D97 #97953D #3F973D
monochromatic
#2C1A40 #4A2B6B #683D97 #8656BB #A682CC

Accessibility & contrast

On white

7.77
#683D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #683D97
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683D97#FFFFFF#000000##FFFFFF
##683D971.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14519A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#5F4F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #683d97;
/* rgb */ color: rgb(104, 61, 151);
/* oklch */ color: oklch(45.6% 0.144 303.2);
Tailwind
colors: {
  custom: {
    50: '#9674b6',
    500: '#683d97',
    950: '#000000',
  },
}
SCSS
$custom: #683d97;
$custom-light: #9674b6;
$custom-dark: #000000;
JSON
{
  "hex": "#683d97",
  "rgb": {
    "r": 104,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 268.667,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.14356,
    "h": 303.2
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#683D97
secondary
#99B779
accent
#D25697
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683D97

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

Preview Lab → · Contrast checker → · Palette generator →

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