#682DB3#682DB3

#682DB3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.197 H 298.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#682DB3
RGBrgb(104, 45, 179)
HSLhsl(266, 60%, 44%)
HSVhsv(266, 75%, 70%)
CMYKcmyk(41.9%, 74.9%, 0%, 29.8%)
CIE-LABlab(34.14, 52.78, -60.77)
CIE-LCHlch(34.14, 80.49, 310.98°)
OKLaboklab(45.6% 0.0928 -0.1738)
OKLCHoklch(45.6% 0.197 298.1)
XYZxyz(14.7819, 8.0743, 43.4188)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682DB3 #78B32D
analogous
#2D35B3 #682DB3 #AB2DB3
triadic
#682DB3 #B3682D #2DB368
tetradic
#682DB3 #B32D35 #78B32D #2DB3AB
square
#682DB3 #B32D35 #78B32D #2DB3AB
split-complementary
#682DB3 #B3AB2D #35B32D
monochromatic
#2F1451 #4C2182 #682DB3 #874BD2 #A77CDE

Accessibility & contrast

On white

8.03
#682DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#682DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682DB3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682DB3#FFFFFF#000000##FFFFFF
##682DB31.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#55506E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682db3;
/* rgb */ color: rgb(104, 45, 179);
/* oklch */ color: oklch(45.6% 0.197 298.1);
Tailwind
colors: {
  custom: {
    50: '#9a6ccb',
    500: '#682db3',
    950: '#000000',
  },
}
SCSS
$custom: #682db3;
$custom-light: #9a6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#682db3",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 266.418,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.19699,
    "h": 298.1
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#682DB3
secondary
#A3C775
accent
#E3459D
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #682DB3

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

Preview Lab → · Contrast checker → · Palette generator →

#682DB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva