#681EBB#681EBB

#681EBB is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.219 H 297.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#681EBB
RGBrgb(104, 30, 187)
HSLhsl(268, 72%, 43%)
HSVhsv(268, 84%, 73%)
CMYKcmyk(44.4%, 84%, 0%, 26.7%)
CIE-LABlab(32.83, 60.57, -67.65)
CIE-LCHlch(32.83, 90.80, 311.84°)
OKLaboklab(44.9% 0.1016 -0.1939)
OKLCHoklch(44.9% 0.219 297.7)
XYZxyz(15.1405, 7.4592, 47.6461)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681EBB #71BB1E
analogous
#1E23BB #681EBB #B61EBB
triadic
#681EBB #BB681E #1EBB68
tetradic
#681EBB #BB1E23 #71BB1E #1EBBB6
square
#681EBB #BB1E23 #71BB1E #1EBBB6
split-complementary
#681EBB #BBB61E #23BB1E
monochromatic
#2D0D52 #4B1686 #681EBB #8637DF #A66CE7

Accessibility & contrast

On white

8.43
#681EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#681EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681EBB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681EBB#FFFFFF#000000##FFFFFF
##681EBB1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#524D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #681ebb;
/* rgb */ color: rgb(104, 30, 187);
/* oklch */ color: oklch(44.9% 0.219 297.7);
Tailwind
colors: {
  custom: {
    50: '#9c66d1',
    500: '#681ebb',
    950: '#000000',
  },
}
SCSS
$custom: #681ebb;
$custom-light: #9c66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#681ebb",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 268.28,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.21887,
    "h": 297.7
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#681EBB
secondary
#9DCD67
accent
#EF3999
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #681EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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