#682ECD#682ECD

#682ECD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.224 H 292.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#682ECD
RGBrgb(104, 46, 205)
HSLhsl(262, 63%, 49%)
HSVhsv(262, 78%, 80%)
CMYKcmyk(49.3%, 77.6%, 0%, 19.6%)
CIE-LABlab(36.56, 58.97, -72.06)
CIE-LCHlch(36.56, 93.12, 309.29°)
OKLaboklab(47.99% 0.085 -0.2069)
OKLCHoklch(47.99% 0.224 292.3)
XYZxyz(17.7023, 9.3042, 58.6089)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682ECD #93CD2E
analogous
#2E43CD #682ECD #B82ECD
triadic
#682ECD #CD682E #2ECD68
tetradic
#682ECD #CD2E43 #93CD2E #2ECDB8
square
#682ECD #CD2E43 #93CD2E #2ECDB8
split-complementary
#682ECD #CDB82E #43CD2E
monochromatic
#351869 #4F239B #682ECD #8B5DDB #AF8FE6

Accessibility & contrast

On white

7.34
#682ECD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#682ECD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682ECD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682ECD#FFFFFF#000000##FFFFFF
##682ECD1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#475B7D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #682ecd;
/* rgb */ color: rgb(104, 46, 205);
/* oklch */ color: oklch(48.0% 0.224 292.3);
Tailwind
colors: {
  custom: {
    50: '#9d6edd',
    500: '#682ecd',
    950: '#000000',
  },
}
SCSS
$custom: #682ecd;
$custom-light: #9d6edd;
$custom-dark: #000000;
JSON
{
  "hex": "#682ecd",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 205
  },
  "hsl": {
    "h": 261.887,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.2237,
    "h": 292.3
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#682ECD
secondary
#B5D086
accent
#E641AA
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #682ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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