#683A98#683A98

#683A98 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.149 H 303.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#683A98
RGBrgb(104, 58, 152)
HSLhsl(269, 45%, 41%)
HSVhsv(269, 62%, 60%)
CMYKcmyk(31.6%, 61.8%, 0%, 40.4%)
CIE-LABlab(34.47, 39.33, -44.00)
CIE-LCHlch(34.47, 59.02, 311.79°)
OKLaboklab(45.2% 0.0825 -0.1246)
OKLCHoklch(45.2% 0.149 303.5)
XYZxyz(12.8882, 8.2362, 30.6104)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683A98 #6A983A
analogous
#3A3B98 #683A98 #973A98
triadic
#683A98 #98683A #3A9868
tetradic
#683A98 #983A3B #6A983A #3A9897
square
#683A98 #983A3B #6A983A #3A9897
split-complementary
#683A98 #98973A #3B983A
monochromatic
#2B183F #4A296C #683A98 #8652BD #A57ECE

Accessibility & contrast

On white

7.93
#683A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#683A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683A98
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683A98#FFFFFF#000000##FFFFFF
##683A981.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04509B
Deuteranopia (green-blind)
#225196
Tritanopia (blue-blind)
#5F4D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #683a98;
/* rgb */ color: rgb(104, 58, 152);
/* oklch */ color: oklch(45.2% 0.149 303.5);
Tailwind
colors: {
  custom: {
    50: '#9773b7',
    500: '#683a98',
    950: '#000000',
  },
}
SCSS
$custom: #683a98;
$custom-light: #9773b7;
$custom-dark: #000000;
JSON
{
  "hex": "#683a98",
  "rgb": {
    "r": 104,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 269.362,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.14939,
    "h": 303.5
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#683A98
secondary
#98B876
accent
#D45395
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683A98

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

Preview Lab → · Contrast checker → · Palette generator →

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