#684EBC#684EBC

#684EBC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.166 H 290.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#684EBC
RGBrgb(104, 78, 188)
HSLhsl(254, 45%, 52%)
HSVhsv(254, 59%, 74%)
CMYKcmyk(44.7%, 58.5%, 0%, 26.3%)
CIE-LABlab(41.25, 37.72, -54.52)
CIE-LCHlch(41.25, 66.30, 304.68°)
OKLaboklab(50.93% 0.057 -0.1555)
OKLCHoklch(50.93% 0.166 290.1)
XYZxyz(17.5079, 12.0221, 48.9652)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EBC #A2BC4E
analogous
#4E6BBC #684EBC #9F4EBC
triadic
#684EBC #BC684E #4EBC68
tetradic
#684EBC #BC4E6B #A2BC4E #4EBC9F
square
#684EBC #BC4E6B #A2BC4E #4EBC9F
split-complementary
#684EBC #BC9F4E #6BBC4E
monochromatic
#372768 #4E3895 #684EBC #8E7ACD #B4A7DE

Accessibility & contrast

On white

6.17
#684EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#684EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EBC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EBC#FFFFFF#000000##FFFFFF
##684EBC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#065FBA
Tritanopia (blue-blind)
#4F677D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684ebc;
/* rgb */ color: rgb(104, 78, 188);
/* oklch */ color: oklch(50.9% 0.166 290.1);
Tailwind
colors: {
  custom: {
    50: '#9980d1',
    500: '#684ebc',
    950: '#000000',
  },
}
SCSS
$custom: #684ebc;
$custom-light: #9980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#684ebc",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 254.182,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.16563,
    "h": 290.1
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#684EBC
secondary
#C0CB9B
accent
#D553B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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