#684BD8#684BD8

#684BD8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.6% C 0.205 H 286.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#684BD8
RGBrgb(104, 75, 216)
HSLhsl(252, 64%, 57%)
HSVhsv(252, 65%, 85%)
CMYKcmyk(51.9%, 65.3%, 0%, 15.3%)
CIE-LABlab(42.66, 47.57, -68.43)
CIE-LCHlch(42.66, 83.34, 304.81°)
OKLaboklab(52.61% 0.0582 -0.1964)
OKLCHoklch(52.61% 0.205 286.5)
XYZxyz(20.6160, 12.9320, 66.3623)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BD8 #BBD84B
analogous
#4B75D8 #684BD8 #AE4BD8
triadic
#684BD8 #D8684B #4BD868
tetradic
#684BD8 #D84B75 #BBD84B #4BD8AE
square
#684BD8 #D84B75 #BBD84B #4BD8AE
split-complementary
#684BD8 #D8AE4B #75D84B
monochromatic
#341E8B #4729BD #684BD8 #927DE3 #BCB0EE

Accessibility & contrast

On white

5.86
#684BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#684BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BD8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BD8#FFFFFF#000000##FFFFFF
##684BD81.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#3C6E8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684bd8;
/* rgb */ color: rgb(104, 75, 216);
/* oklch */ color: oklch(52.6% 0.205 286.5);
Tailwind
colors: {
  custom: {
    50: '#9d7fe5',
    500: '#684bd8',
    950: '#000000',
  },
}
SCSS
$custom: #684bd8;
$custom-light: #9d7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#684bd8",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 252.34,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.20484,
    "h": 286.5
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#684BD8
secondary
#D0DCA3
accent
#E740C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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