#682DBB#682DBB

#682DBB is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.206 H 296.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#682DBB
RGBrgb(104, 45, 187)
HSLhsl(265, 61%, 45%)
HSVhsv(265, 76%, 73%)
CMYKcmyk(44.4%, 75.9%, 0%, 26.7%)
CIE-LABlab(34.82, 54.80, -64.39)
CIE-LCHlch(34.82, 84.56, 310.40°)
OKLaboklab(46.28% 0.0908 -0.1844)
OKLCHoklch(46.28% 0.206 296.2)
XYZxyz(15.6146, 8.4073, 47.8042)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682DBB #80BB2D
analogous
#2D39BB #682DBB #AF2DBB
triadic
#682DBB #BB682D #2DBB68
tetradic
#682DBB #BB2D39 #80BB2D #2DBBAF
square
#682DBB #BB2D39 #80BB2D #2DBBAF
split-complementary
#682DBB #BBAF2D #39BB2D
monochromatic
#311558 #4D218A #682DBB #8750D5 #A982E1

Accessibility & contrast

On white

7.83
#682DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#682DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682DBB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682DBB#FFFFFF#000000##FFFFFF
##682DBB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#515372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #682dbb;
/* rgb */ color: rgb(104, 45, 187);
/* oklch */ color: oklch(46.3% 0.206 296.2);
Tailwind
colors: {
  custom: {
    50: '#9b6cd1',
    500: '#682dbb',
    950: '#000000',
  },
}
SCSS
$custom: #682dbb;
$custom-light: #9b6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#682dbb",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 264.93,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46284,
    "c": 0.20555,
    "h": 296.2
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#682DBB
secondary
#A9CA7A
accent
#E443A1
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #682DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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