#682EB0#682EB0

#682EB0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.193 H 298.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#682EB0
RGBrgb(104, 46, 176)
HSLhsl(267, 59%, 44%)
HSVhsv(267, 74%, 69%)
CMYKcmyk(40.9%, 73.9%, 0%, 31%)
CIE-LABlab(34.05, 51.57, -59.13)
CIE-LCHlch(34.05, 78.45, 311.09°)
OKLaboklab(45.46% 0.0925 -0.169)
OKLCHoklch(45.46% 0.193 298.7)
XYZxyz(14.5204, 8.0314, 41.8511)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EB0 #76B02E
analogous
#2E35B0 #682EB0 #A92EB0
triadic
#682EB0 #B0682E #2EB068
tetradic
#682EB0 #B02E35 #76B02E #2EB0A9
square
#682EB0 #B02E35 #76B02E #2EB0A9
split-complementary
#682EB0 #B0A92E #35B02E
monochromatic
#2F154F #4B217F #682EB0 #864BD0 #A77CDD

Accessibility & contrast

On white

8.06
#682EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#682EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EB0
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EB0#FFFFFF#000000##FFFFFF
##682EB01.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682eb0;
/* rgb */ color: rgb(104, 46, 176);
/* oklch */ color: oklch(45.5% 0.193 298.7);
Tailwind
colors: {
  custom: {
    50: '#9a6cc9',
    500: '#682eb0',
    950: '#000000',
  },
}
SCSS
$custom: #682eb0;
$custom-light: #9a6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#682eb0",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 266.769,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.19266,
    "h": 298.7
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#682EB0
secondary
#A1C575
accent
#E2469C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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