#682DB0#682DB0

#682DB0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.194 H 298.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#682DB0
RGBrgb(104, 45, 176)
HSLhsl(267, 59%, 43%)
HSVhsv(267, 74%, 69%)
CMYKcmyk(40.9%, 74.4%, 0%, 31%)
CIE-LABlab(33.89, 52.02, -59.39)
CIE-LCHlch(33.89, 78.95, 311.22°)
OKLaboklab(45.34% 0.0935 -0.1697)
OKLCHoklch(45.34% 0.194 298.8)
XYZxyz(14.4818, 7.9542, 41.8382)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682DB0 #75B02D
analogous
#2D33B0 #682DB0 #A92DB0
triadic
#682DB0 #B0682D #2DB068
tetradic
#682DB0 #B02D33 #75B02D #2DB0A9
square
#682DB0 #B02D33 #75B02D #2DB0A9
split-complementary
#682DB0 #B0A92D #33B02D
monochromatic
#2E144F #4B217F #682DB0 #864AD1 #A77ADD

Accessibility & contrast

On white

8.11
#682DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682DB0
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682DB0#FFFFFF#000000##FFFFFF
##682DB01.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#564F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682db0;
/* rgb */ color: rgb(104, 45, 176);
/* oklch */ color: oklch(45.3% 0.194 298.8);
Tailwind
colors: {
  custom: {
    50: '#9a6cc9',
    500: '#682db0',
    950: '#000000',
  },
}
SCSS
$custom: #682db0;
$custom-light: #9a6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#682db0",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 267.023,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45343,
    "c": 0.19376,
    "h": 298.8
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#682DB0
secondary
#A0C573
accent
#E2459C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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