#682FD7#682FD7

#682FD7 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.233 H 290.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#682FD7
RGBrgb(104, 47, 215)
HSLhsl(260, 68%, 51%)
HSVhsv(260, 78%, 84%)
CMYKcmyk(51.6%, 78.1%, 0%, 15.7%)
CIE-LABlab(37.63, 61.13, -76.10)
CIE-LCHlch(37.63, 97.61, 308.78°)
OKLaboklab(49.01% 0.0813 -0.2187)
OKLCHoklch(49.01% 0.233 290.4)
XYZxyz(18.9876, 9.8816, 65.1837)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FD7 #9ED72F
analogous
#2F4AD7 #682FD7 #BC2FD7
triadic
#682FD7 #D7682F #2FD768
tetradic
#682FD7 #D72F4A #9ED72F #2FD7BC
square
#682FD7 #D72F4A #9ED72F #2FD7BC
split-complementary
#682FD7 #D7BC2F #4AD72F
monochromatic
#371775 #4F20A8 #682FD7 #8D62E1 #B396EB

Accessibility & contrast

On white

7.06
#682FD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#682FD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FD7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FD7#FFFFFF#000000##FFFFFF
##682FD71.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDC
Deuteranopia (green-blind)
#0055D4
Tritanopia (blue-blind)
#3F6083
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #682fd7;
/* rgb */ color: rgb(104, 47, 215);
/* oklch */ color: oklch(49.0% 0.233 290.4);
Tailwind
colors: {
  custom: {
    50: '#9e6fe5',
    500: '#682fd7',
    950: '#000000',
  },
}
SCSS
$custom: #682fd7;
$custom-light: #9e6fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#682fd7",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 215
  },
  "hsl": {
    "h": 260.357,
    "s": 67.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49013,
    "c": 0.23337,
    "h": 290.4
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#682FD7
secondary
#BDD68C
accent
#EB3DB0
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #682FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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