#681FA7#681FA7

#681FA7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.2% C 0.199 H 302.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#681FA7
RGBrgb(104, 31, 167)
HSLhsl(272, 69%, 39%)
HSVhsv(272, 81%, 65%)
CMYKcmyk(37.7%, 81.4%, 0%, 34.5%)
CIE-LABlab(31.14, 55.54, -58.47)
CIE-LCHlch(31.14, 80.65, 313.53°)
OKLaboklab(43.19% 0.1075 -0.1669)
OKLCHoklch(43.19% 0.199 302.8)
XYZxyz(13.1723, 6.7130, 37.1535)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681FA7 #5EA71F
analogous
#241FA7 #681FA7 #A71FA2
triadic
#681FA7 #A7681F #1FA768
tetradic
#681FA7 #A7241F #5EA71F #1FA2A7
square
#681FA7 #A7241F #5EA71F #1FA2A7
split-complementary
#681FA7 #A2A71F #1FA724
monochromatic
#280C40 #481573 #681FA7 #882BD8 #A55FE1

Accessibility & contrast

On white

8.96
#681FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#681FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681FA7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681FA7#FFFFFF#000000##FFFFFF
##681FA71.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#5B4564
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #681fa7;
/* rgb */ color: rgb(104, 31, 167);
/* oklch */ color: oklch(43.2% 0.199 302.8);
Tailwind
colors: {
  custom: {
    50: '#9a65c2',
    500: '#681fa7',
    950: '#000000',
  },
}
SCSS
$custom: #681fa7;
$custom-light: #9a65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#681fa7",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 272.206,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43187,
    "c": 0.19859,
    "h": 302.8
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#681FA7
secondary
#8DC65C
accent
#EC3C8D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681FA7

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

Preview Lab → · Contrast checker → · Palette generator →

#681FA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva