#682EAD#682EAD

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

Color values

HEX#682EAD
RGBrgb(104, 46, 173)
HSLhsl(267, 58%, 43%)
HSVhsv(267, 73%, 68%)
CMYKcmyk(39.9%, 73.4%, 0%, 32.2%)
CIE-LABlab(33.80, 50.81, -57.74)
CIE-LCHlch(33.80, 76.91, 311.35°)
OKLaboklab(45.21% 0.0932 -0.1649)
OKLCHoklch(45.21% 0.189 299.5)
XYZxyz(14.2268, 7.9140, 40.3051)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EAD #73AD2E
analogous
#2E33AD #682EAD #A82EAD
triadic
#682EAD #AD682E #2EAD68
tetradic
#682EAD #AD2E33 #73AD2E #2EADA8
square
#682EAD #AD2E33 #73AD2E #2EADA8
split-complementary
#682EAD #ADA82E #33AD2E
monochromatic
#2E144C #4B217D #682EAD #8649CF #A67ADC

Accessibility & contrast

On white

8.13
#682EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682EAD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EAD#FFFFFF#000000##FFFFFF
##682EAD1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#584E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682ead;
/* rgb */ color: rgb(104, 46, 173);
/* oklch */ color: oklch(45.2% 0.189 299.5);
Tailwind
colors: {
  custom: {
    50: '#996cc6',
    500: '#682ead',
    950: '#000000',
  },
}
SCSS
$custom: #682ead;
$custom-light: #996cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#682ead",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 267.402,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45207,
    "c": 0.1894,
    "h": 299.5
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#682EAD
secondary
#9FC473
accent
#E1479B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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