#682EAA#682EAA

#682EAA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.186 H 300.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#682EAA
RGBrgb(104, 46, 170)
HSLhsl(268, 57%, 42%)
HSVhsv(268, 73%, 67%)
CMYKcmyk(38.8%, 72.9%, 0%, 33.3%)
CIE-LABlab(33.56, 50.05, -56.33)
CIE-LCHlch(33.56, 75.36, 311.62°)
OKLaboklab(44.96% 0.0938 -0.1608)
OKLCHoklch(44.96% 0.186 300.3)
XYZxyz(13.9398, 7.7992, 38.7934)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EAA #70AA2E
analogous
#2E32AA #682EAA #A62EAA
triadic
#682EAA #AA682E #2EAA68
tetradic
#682EAA #AA2E32 #70AA2E #2EAAA6
square
#682EAA #AA2E32 #70AA2E #2EAAA6
split-complementary
#682EAA #AAA62E #32AA2E
monochromatic
#2D144A #4B217A #682EAA #8648CD #A678DA

Accessibility & contrast

On white

8.20
#682EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#682EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EAA
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EAA#FFFFFF#000000##FFFFFF
##682EAA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#594D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682eaa;
/* rgb */ color: rgb(104, 46, 170);
/* oklch */ color: oklch(45.0% 0.186 300.3);
Tailwind
colors: {
  custom: {
    50: '#996cc4',
    500: '#682eaa',
    950: '#000000',
  },
}
SCSS
$custom: #682eaa;
$custom-light: #996cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#682eaa",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 268.065,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.18614,
    "h": 300.3
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#682EAA
secondary
#9DC371
accent
#E14799
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #682EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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