#684CBA#684CBA

#684CBA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.166 H 291.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#684CBA
RGBrgb(104, 76, 186)
HSLhsl(255, 44%, 51%)
HSVhsv(255, 59%, 73%)
CMYKcmyk(44.1%, 59.1%, 0%, 27.1%)
CIE-LABlab(40.66, 38.31, -54.30)
CIE-LCHlch(40.66, 66.45, 305.21°)
OKLaboklab(50.46% 0.0594 -0.1548)
OKLCHoklch(50.46% 0.166 291)
XYZxyz(17.1538, 11.6565, 47.7910)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CBA #9EBA4C
analogous
#4C67BA #684CBA #9F4CBA
triadic
#684CBA #BA684C #4CBA68
tetradic
#684CBA #BA4C67 #9EBA4C #4CBA9F
square
#684CBA #BA4C67 #9EBA4C #4CBA9F
split-complementary
#684CBA #BA9F4C #67BA4C
monochromatic
#372765 #4F3891 #684CBA #8D78CB #B3A4DC

Accessibility & contrast

On white

6.30
#684CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#684CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CBA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CBA#FFFFFF#000000##FFFFFF
##684CBA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#045DB8
Tritanopia (blue-blind)
#50657C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684cba;
/* rgb */ color: rgb(104, 76, 186);
/* oklch */ color: oklch(50.5% 0.166 291.0);
Tailwind
colors: {
  custom: {
    50: '#997fcf',
    500: '#684cba',
    950: '#000000',
  },
}
SCSS
$custom: #684cba;
$custom-light: #997fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#684cba",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 255.273,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.16584,
    "h": 291
  },
  "luminance": 0.11657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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