#682EB8#682EB8

#682EB8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.201 H 296.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#682EB8
RGBrgb(104, 46, 184)
HSLhsl(265, 60%, 45%)
HSVhsv(265, 75%, 72%)
CMYKcmyk(43.5%, 75%, 0%, 27.8%)
CIE-LABlab(34.72, 53.60, -62.78)
CIE-LCHlch(34.72, 82.55, 310.49°)
OKLaboklab(46.13% 0.0907 -0.1797)
OKLCHoklch(46.13% 0.201 296.8)
XYZxyz(15.3354, 8.3574, 46.1433)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EB8 #7EB82E
analogous
#2E39B8 #682EB8 #AD2EB8
triadic
#682EB8 #B8682E #2EB868
tetradic
#682EB8 #B82E39 #7EB82E #2EB8AD
square
#682EB8 #B82E39 #7EB82E #2EB8AD
split-complementary
#682EB8 #B8AD2E #39B82E
monochromatic
#311656 #4C2287 #682EB8 #8750D3 #A981DF

Accessibility & contrast

On white

7.86
#682EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#682EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EB8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EB8#FFFFFF#000000##FFFFFF
##682EB81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#535271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #682eb8;
/* rgb */ color: rgb(104, 46, 184);
/* oklch */ color: oklch(46.1% 0.201 296.8);
Tailwind
colors: {
  custom: {
    50: '#9a6dce',
    500: '#682eb8',
    950: '#000000',
  },
}
SCSS
$custom: #682eb8;
$custom-light: #9a6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#682eb8",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 265.217,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46134,
    "c": 0.20129,
    "h": 296.8
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#682EB8
secondary
#A7C879
accent
#E345A1
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #682EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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