#682EFF#682EFF

#682EFF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.8% C 0.276 H 284.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#682EFF
RGBrgb(104, 46, 255)
HSLhsl(257, 100%, 59%)
HSVhsv(257, 82%, 100%)
CMYKcmyk(59.2%, 82%, 0%, 0%)
CIE-LABlab(41.40, 71.79, -92.56)
CIE-LCHlch(41.40, 117.14, 307.80°)
OKLaboklab(52.78% 0.069 -0.2668)
OKLCHoklch(52.78% 0.276 284.5)
XYZxyz(24.7304, 12.1154, 95.6237)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EFF #C5FF2E
analogous
#2E5DFF #682EFF #D12EFF
triadic
#682EFF #FF682E #2EFF68
tetradic
#682EFF #FF2E5D #C5FF2E #2EFFD1
square
#682EFF #FF2E5D #C5FF2E #2EFFD1
split-complementary
#682EFF #FFD12E #5DFF2E
monochromatic
#3200B3 #4300F0 #682EFF #946BFF #C0A8FF

Accessibility & contrast

On white

6.13
#682EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#682EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #682EFF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EFF#FFFFFF#000000##FFFFFF
##682EFF1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067FF
Deuteranopia (green-blind)
#005BFB
Tritanopia (blue-blind)
#00709A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #682eff;
/* rgb */ color: rgb(104, 46, 255);
/* oklch */ color: oklch(52.8% 0.276 284.5);
Tailwind
colors: {
  custom: {
    50: '#a471ff',
    500: '#682eff',
    950: '#000000',
  },
}
SCSS
$custom: #682eff;
$custom-light: #a471ff;
$custom-dark: #000000;
JSON
{
  "hex": "#682eff",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 256.651,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.27558,
    "h": 284.5
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#682EFF
secondary
#D7ED9B
accent
#FF29C4
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#110818
muted
#807B86

Preview Lab

Preview with #682EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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