#684BBA#684BBA

#684BBA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.167 H 291.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#684BBA
RGBrgb(104, 75, 186)
HSLhsl(256, 45%, 51%)
HSVhsv(256, 60%, 73%)
CMYKcmyk(44.1%, 59.7%, 0%, 27.1%)
CIE-LABlab(40.44, 38.90, -54.65)
CIE-LCHlch(40.44, 67.08, 305.44°)
OKLaboklab(50.3% 0.0606 -0.1559)
OKLCHoklch(50.3% 0.167 291.2)
XYZxyz(17.0855, 11.5198, 47.7682)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BBA #9DBA4B
analogous
#4B65BA #684BBA #9F4BBA
triadic
#684BBA #BA684B #4BBA68
tetradic
#684BBA #BA4B65 #9DBA4B #4BBA9F
square
#684BBA #BA4B65 #9DBA4B #4BBA9F
split-complementary
#684BBA #BA9F4B #65BA4B
monochromatic
#372664 #4F3790 #684BBA #8D77CB #B2A3DC

Accessibility & contrast

On white

6.36
#684BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#684BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BBA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BBA#FFFFFF#000000##FFFFFF
##684BBA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#50647B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684bba;
/* rgb */ color: rgb(104, 75, 186);
/* oklch */ color: oklch(50.3% 0.167 291.2);
Tailwind
colors: {
  custom: {
    50: '#997ecf',
    500: '#684bba',
    950: '#000000',
  },
}
SCSS
$custom: #684bba;
$custom-light: #997ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#684bba",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 255.676,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.16725,
    "h": 291.2
  },
  "luminance": 0.1152
}

Semantic roles & 50–950 ramp

primary
#684BBA
secondary
#BCC998
accent
#D454B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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