#682FC9#682FC9

#682FC9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.219 H 293.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#682FC9
RGBrgb(104, 47, 201)
HSLhsl(262, 62%, 49%)
HSVhsv(262, 77%, 79%)
CMYKcmyk(48.3%, 76.6%, 0%, 21.2%)
CIE-LABlab(36.35, 57.51, -70.08)
CIE-LCHlch(36.35, 90.66, 309.37°)
OKLaboklab(47.74% 0.0854 -0.2011)
OKLCHoklch(47.74% 0.219 293)
XYZxyz(17.2651, 9.1925, 56.1117)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FC9 #90C92F
analogous
#2F43C9 #682FC9 #B52FC9
triadic
#682FC9 #C9682F #2FC968
tetradic
#682FC9 #C92F43 #90C92F #2FC9B5
square
#682FC9 #C92F43 #90C92F #2FC9B5
split-complementary
#682FC9 #C9B52F #43C92F
monochromatic
#351866 #4E2397 #682FC9 #8A5CD9 #AE8EE5

Accessibility & contrast

On white

7.40
#682FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#682FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FC9
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FC9#FFFFFF#000000##FFFFFF
##682FC91.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#495A7B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #682fc9;
/* rgb */ color: rgb(104, 47, 201);
/* oklch */ color: oklch(47.7% 0.219 293.0);
Tailwind
colors: {
  custom: {
    50: '#9c6edb',
    500: '#682fc9',
    950: '#000000',
  },
}
SCSS
$custom: #682fc9;
$custom-light: #9c6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#682fc9",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 262.208,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.21851,
    "h": 293
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#682FC9
secondary
#B4CF85
accent
#E543A9
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #682FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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