#683D98#683D98

#683D98 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.145 H 302.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#683D98
RGBrgb(104, 61, 152)
HSLhsl(268, 43%, 42%)
HSVhsv(268, 60%, 60%)
CMYKcmyk(31.6%, 59.9%, 0%, 40.4%)
CIE-LABlab(35.10, 37.65, -42.99)
CIE-LCHlch(35.10, 57.15, 311.21°)
OKLaboklab(45.65% 0.0786 -0.1216)
OKLCHoklch(45.65% 0.145 302.9)
XYZxyz(13.0439, 8.5475, 30.6623)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683D98 #6D983D
analogous
#3D3F98 #683D98 #963D98
triadic
#683D98 #98683D #3D9868
tetradic
#683D98 #983D3F #6D983D #3D9896
square
#683D98 #983D3F #6D983D #3D9896
split-complementary
#683D98 #98963D #3F983D
monochromatic
#2C1A41 #4A2B6C #683D98 #8657BB #A682CD

Accessibility & contrast

On white

7.75
#683D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#683D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683D98
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683D98#FFFFFF#000000##FFFFFF
##683D981.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#265296
Tritanopia (blue-blind)
#5F4F64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #683d98;
/* rgb */ color: rgb(104, 61, 152);
/* oklch */ color: oklch(45.7% 0.145 302.9);
Tailwind
colors: {
  custom: {
    50: '#9674b7',
    500: '#683d98',
    950: '#000000',
  },
}
SCSS
$custom: #683d98;
$custom-light: #9674b7;
$custom-dark: #000000;
JSON
{
  "hex": "#683d98",
  "rgb": {
    "r": 104,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 268.352,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.1448,
    "h": 302.9
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#683D98
secondary
#9AB77A
accent
#D35597
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683D98

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

Preview Lab → · Contrast checker → · Palette generator →

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