#683C9D#683C9D

#683C9D is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.152 H 301.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#683C9D
RGBrgb(104, 60, 157)
HSLhsl(267, 45%, 43%)
HSVhsv(267, 62%, 62%)
CMYKcmyk(33.8%, 61.8%, 0%, 38.4%)
CIE-LABlab(35.22, 39.51, -45.82)
CIE-LCHlch(35.22, 60.51, 310.77°)
OKLaboklab(45.85% 0.0797 -0.1299)
OKLCHoklch(45.85% 0.152 301.5)
XYZxyz(13.4091, 8.6090, 32.8470)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683C9D #719D3C
analogous
#3C419D #683C9D #983C9D
triadic
#683C9D #9D683C #3C9D68
tetradic
#683C9D #9D3C41 #719D3C #3C9D98
square
#683C9D #9D3C41 #719D3C #3C9D98
split-complementary
#683C9D #9D983C #419D3C
monochromatic
#2D1A44 #4B2B71 #683C9D #8657BF #A684D0

Accessibility & contrast

On white

7.72
#683C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #683C9D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683C9D#FFFFFF#000000##FFFFFF
##683C9D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#1E529B
Tritanopia (blue-blind)
#5D5067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #683c9d;
/* rgb */ color: rgb(104, 60, 157);
/* oklch */ color: oklch(45.8% 0.152 301.5);
Tailwind
colors: {
  custom: {
    50: '#9774ba',
    500: '#683c9d',
    950: '#000000',
  },
}
SCSS
$custom: #683c9d;
$custom-light: #9774ba;
$custom-dark: #000000;
JSON
{
  "hex": "#683c9d",
  "rgb": {
    "r": 104,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 267.216,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.15245,
    "h": 301.5
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#683C9D
secondary
#9DBA7B
accent
#D4539A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #683C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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