#682DAE#682DAE

#682DAE is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.192 H 299.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#682DAE
RGBrgb(104, 45, 174)
HSLhsl(267, 59%, 43%)
HSVhsv(267, 74%, 68%)
CMYKcmyk(40.2%, 74.1%, 0%, 31.8%)
CIE-LABlab(33.72, 51.52, -58.46)
CIE-LCHlch(33.72, 77.93, 311.39°)
OKLaboklab(45.18% 0.0939 -0.167)
OKLCHoklch(45.18% 0.192 299.3)
XYZxyz(14.2854, 7.8756, 40.8037)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682DAE #73AE2D
analogous
#2D32AE #682DAE #A82DAE
triadic
#682DAE #AE682D #2DAE68
tetradic
#682DAE #AE2D32 #73AE2D #2DAEA8
square
#682DAE #AE2D32 #73AE2D #2DAEA8
split-complementary
#682DAE #AEA82D #32AE2D
monochromatic
#2E144D #4B207D #682DAE #8648D0 #A679DC

Accessibility & contrast

On white

8.15
#682DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#682DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682DAE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682DAE#FFFFFF#000000##FFFFFF
##682DAE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#574E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682dae;
/* rgb */ color: rgb(104, 45, 174);
/* oklch */ color: oklch(45.2% 0.192 299.3);
Tailwind
colors: {
  custom: {
    50: '#996cc7',
    500: '#682dae',
    950: '#000000',
  },
}
SCSS
$custom: #682dae;
$custom-light: #996cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#682dae",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 267.442,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45175,
    "c": 0.19161,
    "h": 299.3
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#682DAE
secondary
#9FC472
accent
#E2469B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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