#682EA9#682EA9

#682EA9 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.185 H 300.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#682EA9
RGBrgb(104, 46, 169)
HSLhsl(268, 57%, 42%)
HSVhsv(268, 73%, 66%)
CMYKcmyk(38.5%, 72.8%, 0%, 33.7%)
CIE-LABlab(33.48, 49.80, -55.87)
CIE-LCHlch(33.48, 74.84, 311.72°)
OKLaboklab(44.88% 0.094 -0.1594)
OKLCHoklch(44.88% 0.185 300.5)
XYZxyz(13.8456, 7.7615, 38.2971)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EA9 #6FA92E
analogous
#2E31A9 #682EA9 #A62EA9
triadic
#682EA9 #A9682E #2EA968
tetradic
#682EA9 #A92E31 #6FA92E #2EA9A6
square
#682EA9 #A92E31 #6FA92E #2EA9A6
split-complementary
#682EA9 #A9A62E #31A92E
monochromatic
#2D1449 #4A2179 #682EA9 #8647CD #A677DA

Accessibility & contrast

On white

8.23
#682EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#682EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EA9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EA9#FFFFFF#000000##FFFFFF
##682EA91.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#594C69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682ea9;
/* rgb */ color: rgb(104, 46, 169);
/* oklch */ color: oklch(44.9% 0.185 300.5);
Tailwind
colors: {
  custom: {
    50: '#996cc3',
    500: '#682ea9',
    950: '#000000',
  },
}
SCSS
$custom: #682ea9;
$custom-light: #996cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#682ea9",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 268.293,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44878,
    "c": 0.18505,
    "h": 300.5
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#682EA9
secondary
#9CC271
accent
#E04798
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #682EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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