#681FA8#681FA8

#681FA8 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.200 H 302.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#681FA8
RGBrgb(104, 31, 168)
HSLhsl(272, 69%, 39%)
HSVhsv(272, 82%, 66%)
CMYKcmyk(38.1%, 81.5%, 0%, 34.1%)
CIE-LABlab(31.23, 55.77, -58.94)
CIE-LCHlch(31.23, 81.14, 313.42°)
OKLaboklab(43.27% 0.1072 -0.1683)
OKLCHoklch(43.27% 0.2 302.5)
XYZxyz(13.2651, 6.7501, 37.6423)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681FA8 #5FA81F
analogous
#241FA8 #681FA8 #A81FA4
triadic
#681FA8 #A8681F #1FA868
tetradic
#681FA8 #A8241F #5FA81F #1FA4A8
square
#681FA8 #A8241F #5FA81F #1FA4A8
split-complementary
#681FA8 #A4A81F #1FA824
monochromatic
#280C41 #481574 #681FA8 #882CD8 #A560E2

Accessibility & contrast

On white

8.94
#681FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#681FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681FA8
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681FA8#FFFFFF#000000##FFFFFF
##681FA81.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#5A4565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #681fa8;
/* rgb */ color: rgb(104, 31, 168);
/* oklch */ color: oklch(43.3% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#9a65c3',
    500: '#681fa8',
    950: '#000000',
  },
}
SCSS
$custom: #681fa8;
$custom-light: #9a65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#681fa8",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 271.971,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.19956,
    "h": 302.5
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#681FA8
secondary
#8EC65D
accent
#EC3C8E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #681FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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