#681CA7#681CA7

#681CA7 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.201 H 303.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#681CA7
RGBrgb(104, 28, 167)
HSLhsl(273, 71%, 38%)
HSVhsv(273, 83%, 65%)
CMYKcmyk(37.7%, 83.2%, 0%, 34.5%)
CIE-LABlab(30.79, 56.57, -59.05)
CIE-LCHlch(30.79, 81.77, 313.77°)
OKLaboklab(42.94% 0.1097 -0.1686)
OKLCHoklch(42.94% 0.201 303)
XYZxyz(13.0976, 6.5636, 37.1286)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681CA7 #5BA71C
analogous
#231CA7 #681CA7 #A71CA0
triadic
#681CA7 #A7681C #1CA768
tetradic
#681CA7 #A7231C #5BA71C #1CA0A7
square
#681CA7 #A7231C #5BA71C #1CA0A7
split-complementary
#681CA7 #A0A71C #1CA723
monochromatic
#270A3E #471373 #681CA7 #8926DB #A55AE3

Accessibility & contrast

On white

9.08
#681CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#681CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681CA7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681CA7#FFFFFF#000000##FFFFFF
##681CA71.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#5B4464
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #681ca7;
/* rgb */ color: rgb(104, 28, 167);
/* oklch */ color: oklch(42.9% 0.201 303.0);
Tailwind
colors: {
  custom: {
    50: '#9a63c2',
    500: '#681ca7',
    950: '#000000',
  },
}
SCSS
$custom: #681ca7;
$custom-light: #9a63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#681ca7",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 272.806,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.20116,
    "h": 303
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#681CA7
secondary
#8AC758
accent
#EE3A8B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #681CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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