#683F97#683F97

#683F97 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.9% C 0.140 H 302.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#683F97
RGBrgb(104, 63, 151)
HSLhsl(268, 41%, 42%)
HSVhsv(268, 58%, 59%)
CMYKcmyk(31.1%, 58.3%, 0%, 40.8%)
CIE-LABlab(35.46, 36.26, -41.80)
CIE-LCHlch(35.46, 55.33, 310.94°)
OKLaboklab(45.9% 0.0759 -0.1181)
OKLCHoklch(45.9% 0.14 302.7)
XYZxyz(13.0711, 8.7324, 30.2691)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683F97 #6E973F
analogous
#3F4297 #683F97 #943F97
triadic
#683F97 #97683F #3F9768
tetradic
#683F97 #973F42 #6E973F #3F9794
square
#683F97 #973F42 #6E973F #3F9794
split-complementary
#683F97 #97943F #42973F
monochromatic
#2D1B41 #4A2D6C #683F97 #8659BA #A685CC

Accessibility & contrast

On white

7.65
#683F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#683F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683F97
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683F97#FFFFFF#000000##FFFFFF
##683F971.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539A
Deuteranopia (green-blind)
#2A5395
Tritanopia (blue-blind)
#5F5065
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #683f97;
/* rgb */ color: rgb(104, 63, 151);
/* oklch */ color: oklch(45.9% 0.140 302.7);
Tailwind
colors: {
  custom: {
    50: '#9676b6',
    500: '#683f97',
    950: '#000000',
  },
}
SCSS
$custom: #683f97;
$custom-light: #9676b6;
$custom-dark: #000000;
JSON
{
  "hex": "#683f97",
  "rgb": {
    "r": 104,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 267.955,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.459,
    "c": 0.14043,
    "h": 302.7
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#683F97
secondary
#9BB67C
accent
#D15798
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683F97

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

Preview Lab → · Contrast checker → · Palette generator →

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