#682CB2#682CB2

#682CB2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.197 H 298.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#682CB2
RGBrgb(104, 44, 178)
HSLhsl(267, 60%, 44%)
HSVhsv(267, 75%, 70%)
CMYKcmyk(41.6%, 75.3%, 0%, 30.2%)
CIE-LABlab(33.90, 52.97, -60.56)
CIE-LCHlch(33.90, 80.46, 311.17°)
OKLaboklab(45.4% 0.0939 -0.1732)
OKLCHoklch(45.4% 0.197 298.5)
XYZxyz(14.6434, 7.9585, 42.8755)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CB2 #76B22C
analogous
#2C33B2 #682CB2 #AB2CB2
triadic
#682CB2 #B2682C #2CB268
tetradic
#682CB2 #B22C33 #76B22C #2CB2AB
square
#682CB2 #B22C33 #76B22C #2CB2AB
split-complementary
#682CB2 #B2AB2C #33B22C
monochromatic
#2F1450 #4B2081 #682CB2 #8649D2 #A77ADE

Accessibility & contrast

On white

8.10
#682CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#682CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CB2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CB2#FFFFFF#000000##FFFFFF
##682CB21.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#564F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682cb2;
/* rgb */ color: rgb(104, 44, 178);
/* oklch */ color: oklch(45.4% 0.197 298.5);
Tailwind
colors: {
  custom: {
    50: '#9a6bca',
    500: '#682cb2',
    950: '#000000',
  },
}
SCSS
$custom: #682cb2;
$custom-light: #9a6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#682cb2",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 266.866,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45401,
    "c": 0.197,
    "h": 298.5
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#682CB2
secondary
#A1C673
accent
#E4449C
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #682CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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