#682CA7#682CA7

#682CA7 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.185 H 301.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#682CA7
RGBrgb(104, 44, 167)
HSLhsl(269, 58%, 41%)
HSVhsv(269, 74%, 65%)
CMYKcmyk(37.7%, 73.7%, 0%, 34.5%)
CIE-LABlab(32.99, 50.23, -55.46)
CIE-LCHlch(32.99, 74.82, 312.17°)
OKLaboklab(44.48% 0.0964 -0.1582)
OKLCHoklch(44.48% 0.185 301.4)
XYZxyz(13.5830, 7.5344, 37.2904)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CA7 #6BA72C
analogous
#2C2EA7 #682CA7 #A62CA7
triadic
#682CA7 #A7682C #2CA768
tetradic
#682CA7 #A72C2E #6BA72C #2CA7A6
square
#682CA7 #A72C2E #6BA72C #2CA7A6
split-complementary
#682CA7 #A7A62C #2EA72C
monochromatic
#2C1246 #4A1F77 #682CA7 #8643CD #A573DA

Accessibility & contrast

On white

8.38
#682CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#682CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CA7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CA7#FFFFFF#000000##FFFFFF
##682CA71.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#5A4B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682ca7;
/* rgb */ color: rgb(104, 44, 167);
/* oklch */ color: oklch(44.5% 0.185 301.4);
Tailwind
colors: {
  custom: {
    50: '#996bc2',
    500: '#682ca7',
    950: '#000000',
  },
}
SCSS
$custom: #682ca7;
$custom-light: #996bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#682ca7",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 269.268,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.18522,
    "h": 301.4
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#682CA7
secondary
#98C26D
accent
#E24696
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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