#682AB0#682AB0

#682AB0 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.197 H 299.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#682AB0
RGBrgb(104, 42, 176)
HSLhsl(268, 61%, 43%)
HSVhsv(268, 76%, 69%)
CMYKcmyk(40.9%, 76.1%, 0%, 31%)
CIE-LABlab(33.42, 53.35, -60.15)
CIE-LCHlch(33.42, 80.40, 311.57°)
OKLaboklab(45.02% 0.0961 -0.1719)
OKLCHoklch(45.02% 0.197 299.2)
XYZxyz(14.3714, 7.7334, 41.8014)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682AB0 #72B02A
analogous
#2A2FB0 #682AB0 #AB2AB0
triadic
#682AB0 #B0682A #2AB068
tetradic
#682AB0 #B02A2F #72B02A #2AB0AB
square
#682AB0 #B02A2F #72B02A #2AB0AB
split-complementary
#682AB0 #B0AB2A #2FB02A
monochromatic
#2E124D #4B1E7F #682AB0 #8645D3 #A676DE

Accessibility & contrast

On white

8.25
#682AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#682AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682AB0
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682AB0#FFFFFF#000000##FFFFFF
##682AB01.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#574D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682ab0;
/* rgb */ color: rgb(104, 42, 176);
/* oklch */ color: oklch(45.0% 0.197 299.2);
Tailwind
colors: {
  custom: {
    50: '#9a6ac9',
    500: '#682ab0',
    950: '#000000',
  },
}
SCSS
$custom: #682ab0;
$custom-light: #9a6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#682ab0",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 267.761,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.197,
    "h": 299.2
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#682AB0
secondary
#9EC670
accent
#E5439A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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