#682CB0#682CB0

#682CB0 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.195 H 299.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#682CB0
RGBrgb(104, 44, 176)
HSLhsl(267, 60%, 43%)
HSVhsv(267, 75%, 69%)
CMYKcmyk(40.9%, 75%, 0%, 31%)
CIE-LABlab(33.73, 52.47, -59.65)
CIE-LCHlch(33.73, 79.44, 311.34°)
OKLaboklab(45.23% 0.0944 -0.1705)
OKLCHoklch(45.23% 0.195 299)
XYZxyz(14.4441, 7.8788, 41.8256)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CB0 #74B02C
analogous
#2C32B0 #682CB0 #AA2CB0
triadic
#682CB0 #B0682C #2CB068
tetradic
#682CB0 #B02C32 #74B02C #2CB0AA
square
#682CB0 #B02C32 #74B02C #2CB0AA
split-complementary
#682CB0 #B0AA2C #32B02C
monochromatic
#2E144E #4B207F #682CB0 #8648D1 #A779DD

Accessibility & contrast

On white

8.15
#682CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#682CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CB0
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CB0#FFFFFF#000000##FFFFFF
##682CB01.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#574E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682cb0;
/* rgb */ color: rgb(104, 44, 176);
/* oklch */ color: oklch(45.2% 0.195 299.0);
Tailwind
colors: {
  custom: {
    50: '#9a6bc9',
    500: '#682cb0',
    950: '#000000',
  },
}
SCSS
$custom: #682cb0;
$custom-light: #9a6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#682cb0",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 267.273,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.19486,
    "h": 299
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#682CB0
secondary
#A0C672
accent
#E3459B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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