#684BBB#684BBB

#684BBB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.169 H 291.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#684BBB
RGBrgb(104, 75, 187)
HSLhsl(256, 45%, 51%)
HSVhsv(256, 60%, 73%)
CMYKcmyk(44.4%, 59.9%, 0%, 26.7%)
CIE-LABlab(40.51, 39.18, -55.13)
CIE-LCHlch(40.51, 67.63, 305.40°)
OKLaboklab(50.37% 0.0605 -0.1573)
OKLCHoklch(50.37% 0.169 291)
XYZxyz(17.1921, 11.5625, 48.3300)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BBB #9EBB4B
analogous
#4B66BB #684BBB #A04BBB
triadic
#684BBB #BB684B #4BBB68
tetradic
#684BBB #BB4B66 #9EBB4B #4BBBA0
square
#684BBB #BB4B66 #9EBB4B #4BBBA0
split-complementary
#684BBB #BBA04B #66BB4B
monochromatic
#372665 #4F3792 #684BBB #8D77CC #B3A4DD

Accessibility & contrast

On white

6.34
#684BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#684BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BBB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BBB#FFFFFF#000000##FFFFFF
##684BBB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#50647C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684bbb;
/* rgb */ color: rgb(104, 75, 187);
/* oklch */ color: oklch(50.4% 0.169 291.0);
Tailwind
colors: {
  custom: {
    50: '#997ed0',
    500: '#684bbb',
    950: '#000000',
  },
}
SCSS
$custom: #684bbb;
$custom-light: #997ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#684bbb",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 255.536,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.16853,
    "h": 291
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#684BBB
secondary
#BDCA98
accent
#D553B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684BBB

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

Preview Lab → · Contrast checker → · Palette generator →

#684BBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva