#682887#682887

#682887 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.156 H 312.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#682887
RGBrgb(104, 40, 135)
HSLhsl(280, 54%, 34%)
HSVhsv(280, 70%, 53%)
CMYKcmyk(23%, 70.4%, 0%, 47.1%)
CIE-LABlab(29.94, 44.47, -40.84)
CIE-LCHlch(29.94, 60.38, 317.44°)
OKLaboklab(41.55% 0.1056 -0.1152)
OKLCHoklch(41.55% 0.156 312.5)
XYZxyz(10.8401, 6.2102, 23.5446)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682887 #478728
analogous
#392887 #682887 #872877
triadic
#682887 #876828 #288768
tetradic
#682887 #873928 #478728 #287787
square
#682887 #873928 #478728 #287787
split-complementary
#682887 #778728 #288739
monochromatic
#1F0C29 #441A58 #682887 #8C36B6 #A95BCE

Accessibility & contrast

On white

9.37
#682887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682887
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682887#FFFFFF#000000##FFFFFF
##6828871.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#653C54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682887;
/* rgb */ color: rgb(104, 40, 135);
/* oklch */ color: oklch(41.6% 0.156 312.5);
Tailwind
colors: {
  custom: {
    50: '#9667aa',
    500: '#682887',
    950: '#000000',
  },
}
SCSS
$custom: #682887;
$custom-light: #9667aa;
$custom-dark: #000000;
JSON
{
  "hex": "#682887",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 280.421,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.15628,
    "h": 312.5
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#682887
secondary
#75B457
accent
#DE4A7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682887

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

Preview Lab → · Contrast checker → · Palette generator →

#682887 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva