#684BB8#684BB8

#684BB8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.165 H 291.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#684BB8
RGBrgb(104, 75, 184)
HSLhsl(256, 43%, 51%)
HSVhsv(256, 59%, 72%)
CMYKcmyk(43.5%, 59.2%, 0%, 27.8%)
CIE-LABlab(40.30, 38.33, -53.70)
CIE-LCHlch(40.30, 65.98, 305.51°)
OKLaboklab(50.15% 0.0606 -0.1531)
OKLCHoklch(50.15% 0.165 291.6)
XYZxyz(16.8743, 11.4354, 46.6563)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BB8 #9BB84B
analogous
#4B64B8 #684BB8 #9E4BB8
triadic
#684BB8 #B8684B #4BB868
tetradic
#684BB8 #B84B64 #9BB84B #4BB89E
square
#684BB8 #B84B64 #9BB84B #4BB89E
split-complementary
#684BB8 #B89E4B #64B84B
monochromatic
#362762 #4F388E #684BB8 #8D77C9 #B2A3DB

Accessibility & contrast

On white

6.39
#684BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#684BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BB8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BB8#FFFFFF#000000##FFFFFF
##684BB81.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#075DB6
Tritanopia (blue-blind)
#51637A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684bb8;
/* rgb */ color: rgb(104, 75, 184);
/* oklch */ color: oklch(50.2% 0.165 291.6);
Tailwind
colors: {
  custom: {
    50: '#997ece',
    500: '#684bb8',
    950: '#000000',
  },
}
SCSS
$custom: #684bb8;
$custom-light: #997ece;
$custom-dark: #000000;
JSON
{
  "hex": "#684bb8",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 255.963,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.16467,
    "h": 291.6
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#684BB8
secondary
#BBC897
accent
#D355B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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