#684BD6#684BD6

#684BD6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.4% C 0.202 H 286.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#684BD6
RGBrgb(104, 75, 214)
HSLhsl(253, 63%, 57%)
HSVhsv(253, 65%, 84%)
CMYKcmyk(51.4%, 65%, 0%, 16.1%)
CIE-LABlab(42.50, 46.99, -67.54)
CIE-LCHlch(42.50, 82.28, 304.83°)
OKLaboklab(52.45% 0.0584 -0.1938)
OKLCHoklch(52.45% 0.202 286.8)
XYZxyz(20.3590, 12.8292, 65.0088)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BD6 #B9D64B
analogous
#4B74D6 #684BD6 #AE4BD6
triadic
#684BD6 #D6684B #4BD668
tetradic
#684BD6 #D64B74 #B9D64B #4BD6AE
square
#684BD6 #D64B74 #B9D64B #4BD6AE
split-complementary
#684BD6 #D6AE4B #74D64B
monochromatic
#351F88 #482ABA #684BD6 #927DE1 #BCAFED

Accessibility & contrast

On white

5.89
#684BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#684BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BD6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BD6#FFFFFF#000000##FFFFFF
##684BD61.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#3E6D8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684bd6;
/* rgb */ color: rgb(104, 75, 214);
/* oklch */ color: oklch(52.4% 0.202 286.8);
Tailwind
colors: {
  custom: {
    50: '#9c7fe4',
    500: '#684bd6',
    950: '#000000',
  },
}
SCSS
$custom: #684bd6;
$custom-light: #9c7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#684bd6",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 252.518,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.2024,
    "h": 286.8
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#684BD6
secondary
#CFDBA2
accent
#E642C4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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