#682DC9#682DC9

#682DC9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.220 H 293.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#682DC9
RGBrgb(104, 45, 201)
HSLhsl(263, 63%, 48%)
HSVhsv(263, 78%, 79%)
CMYKcmyk(48.3%, 77.6%, 0%, 21.2%)
CIE-LABlab(36.05, 58.37, -70.57)
CIE-LCHlch(36.05, 91.59, 309.59°)
OKLaboklab(47.53% 0.0869 -0.2026)
OKLCHoklch(47.53% 0.22 293.2)
XYZxyz(17.1870, 9.0363, 56.0856)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682DC9 #8EC92D
analogous
#2D40C9 #682DC9 #B62DC9
triadic
#682DC9 #C9682D #2DC968
tetradic
#682DC9 #C92D40 #8EC92D #2DC9B6
square
#682DC9 #C92D40 #8EC92D #2DC9B6
split-complementary
#682DC9 #C9B62D #40C92D
monochromatic
#341765 #4E2297 #682DC9 #8A59DA #AD8BE5

Accessibility & contrast

On white

7.48
#682DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#682DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682DC9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682DC9#FFFFFF#000000##FFFFFF
##682DC91.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#49597A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #682dc9;
/* rgb */ color: rgb(104, 45, 201);
/* oklch */ color: oklch(47.5% 0.220 293.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ddb',
    500: '#682dc9',
    950: '#000000',
  },
}
SCSS
$custom: #682dc9;
$custom-light: #9d6ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#682dc9",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 262.692,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47527,
    "c": 0.2204,
    "h": 293.2
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#682DC9
secondary
#B2CF83
accent
#E641A8
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #682DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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