#684EBA#684EBA

#684EBA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.163 H 290.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#684EBA
RGBrgb(104, 78, 186)
HSLhsl(254, 44%, 52%)
HSVhsv(254, 58%, 73%)
CMYKcmyk(44.1%, 58.1%, 0%, 27.1%)
CIE-LABlab(41.11, 37.14, -53.57)
CIE-LCHlch(41.11, 65.19, 304.74°)
OKLaboklab(50.79% 0.0571 -0.1527)
OKLCHoklch(50.79% 0.163 290.5)
XYZxyz(17.2938, 11.9364, 47.8376)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EBA #A0BA4E
analogous
#4E6ABA #684EBA #9E4EBA
triadic
#684EBA #BA684E #4EBA68
tetradic
#684EBA #BA4E6A #A0BA4E #4EBA9E
square
#684EBA #BA4E6A #A0BA4E #4EBA9E
split-complementary
#684EBA #BA9E4E #6ABA4E
monochromatic
#372866 #4E3992 #684EBA #8E7ACB #B3A6DC

Accessibility & contrast

On white

6.20
#684EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#684EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EBA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EBA#FFFFFF#000000##FFFFFF
##684EBA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0263BE
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#50667C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684eba;
/* rgb */ color: rgb(104, 78, 186);
/* oklch */ color: oklch(50.8% 0.163 290.5);
Tailwind
colors: {
  custom: {
    50: '#9980cf',
    500: '#684eba',
    950: '#000000',
  },
}
SCSS
$custom: #684eba;
$custom-light: #9980cf;
$custom-dark: #000000;
JSON
{
  "hex": "#684eba",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 254.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5079,
    "c": 0.16302,
    "h": 290.5
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

primary
#684EBA
secondary
#BECA9A
accent
#D454B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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