#682EAE#682EAE

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

Color values

HEX#682EAE
RGBrgb(104, 46, 174)
HSLhsl(267, 58%, 43%)
HSVhsv(267, 74%, 68%)
CMYKcmyk(40.2%, 73.6%, 0%, 31.8%)
CIE-LABlab(33.88, 51.06, -58.20)
CIE-LCHlch(33.88, 77.42, 311.26°)
OKLaboklab(45.29% 0.093 -0.1662)
OKLCHoklch(45.29% 0.19 299.2)
XYZxyz(14.3240, 7.9529, 40.8166)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EAE #74AE2E
analogous
#2E34AE #682EAE #A82EAE
triadic
#682EAE #AE682E #2EAE68
tetradic
#682EAE #AE2E34 #74AE2E #2EAEA8
square
#682EAE #AE2E34 #74AE2E #2EAEA8
split-complementary
#682EAE #AEA82E #34AE2E
monochromatic
#2E144D #4B217E #682EAE #864ACF #A77ADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682EAE#FFFFFF#000000##FFFFFF
##682EAE1.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)
#0050B2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#574E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682eae;
/* rgb */ color: rgb(104, 46, 174);
/* oklch */ color: oklch(45.3% 0.190 299.2);
Tailwind
colors: {
  custom: {
    50: '#996cc7',
    500: '#682eae',
    950: '#000000',
  },
}
SCSS
$custom: #682eae;
$custom-light: #996cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#682eae",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 267.188,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.19048,
    "h": 299.2
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#682EAE
secondary
#A0C474
accent
#E1469B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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